package com.example.petstoremobile.dtos;

import java.math.BigDecimal;

public class RefundDTO {
    // Response fields
    private Long id;
    private Long saleId;
    private Long customerId;
    private BigDecimal amount;
    private String reason;
    private String status;
    private String createdAt;
    private String updatedAt;

    // Constructor for create request
    public RefundDTO(Long saleId, String reason) {
        this.saleId = saleId;
        this.reason = reason;
    }

    // Constructor for update request
    public RefundDTO(String status) {
        this.status = status;
    }

    public Long getId() {
        return id;
    }

    public Long getSaleId() {
        return saleId;
    }

    public Long getCustomerId() {
        return customerId;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public String getReason() {
        return reason;
    }

    public String getStatus() {
        return status;
    }

    public String getCreatedAt() {
        return createdAt;
    }

    public String getUpdatedAt() {
        return updatedAt;
    }
}