#ifndef REFUND_DTO_H #define REFUND_DTO_H #include 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