package com.ga.core.vo.settle;

import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 이의신청 API 응답 VO
 * 설계사명, 담당자명, 상태명 등 조인 결과 포함.
 */
@Data
public class CommissionDisputeResp {
    private Long disputeId;
    private Long agentId;
    private String agentName;            // agent 조인
    private String orgName;              // organization 조인
    private String settleMonth;
    private Long settleId;
    private String status;
    private String statusName;           // common_code 조인
    private BigDecimal disputedAmount;
    private BigDecimal claimAmount;
    private String reason;
    private String evidenceUrl;
    private Long reviewerId;
    private String reviewerName;         // users 조인
    private LocalDateTime reviewedAt;
    private Long resolvedBy;
    private String resolvedByName;       // users 조인
    private LocalDateTime resolvedAt;
    private String resolution;
    private BigDecimal adjustmentAmount;
    private Long correctionId;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
