Initial commit

This commit is contained in:
user
2026-07-12 14:34:52 +04:00
commit 3abf6bd9c2
557 changed files with 68706 additions and 0 deletions
+37
View File
@@ -0,0 +1,37 @@
#ifndef REFUND_DTO_H
#define REFUND_DTO_H
#include <QDateTime>
class RefundDTO {
private:
QDateTime refundAt_; // Refund date and time
double refundAmount_; // Refund amount
qint32 refundId_; // Unique ID for the refund
qint32 ticketId_; // Associated ticket ID
public:
// Constructors
explicit RefundDTO() = default;
explicit RefundDTO(const QDateTime &refundAt, double refundAmount,
qint32 refundId, qint32 ticketId)
: refundAt_(refundAt), refundAmount_(refundAmount), refundId_(refundId),
ticketId_(ticketId) {}
// Setters (inline methods)
inline void setRefundAt(const QDateTime &refundAt) { refundAt_ = refundAt; }
inline void setRefundAmount(double refundAmount) {
refundAmount_ = refundAmount;
}
inline void setRefundId(qint32 refundId) { refundId_ = refundId; }
inline void setTicketId(qint32 ticketId) { ticketId_ = ticketId; }
// Getters (inline methods)
inline QDateTime refundAt() const { return refundAt_; }
inline double refundAmount() const { return refundAmount_; }
inline qint32 refundId() const { return refundId_; }
inline qint32 ticketId() const { return ticketId_; }
};
#endif // REFUND_DTO_H