package com.petshop.backend.dto.refund;

import jakarta.validation.constraints.NotBlank;
import java.util.Objects;

public class RefundUpdateRequest {
    @NotBlank(message = "Status is required")
    private String status;

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    @Override
    public boolean equals(Object o) {
        if (this == o) return true;
        if (o == null || getClass() != o.getClass()) return false;
        RefundUpdateRequest that = (RefundUpdateRequest) o;
        return Objects.equals(status, that.status);
    }

    @Override
    public int hashCode() {
        return Objects.hash(status);
    }

    @Override
    public String toString() {
        return "RefundUpdateRequest{" +
                "status='" + status + '\'' +
                '}';
    }
}
