package com.ga.core.vo.settle;

import lombok.Data;

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

/**
 * 세금계산서 API 응답 VO
 * 설계사명, 발행자명 조인 포함.
 */
@Data
public class TaxInvoiceResp {
    private Long invoiceId;
    private String invoiceNo;
    private String invoiceType;
    private String invoiceTypeName;        // common_code 조인
    private LocalDate issueDate;
    private BigDecimal supplyAmount;
    private BigDecimal taxAmount;
    private BigDecimal totalAmount;

    private String counterpartName;
    private String counterpartBizNo;
    private String counterpartRep;
    private String counterpartAddr;

    private Long agentId;
    private String agentName;              // agent 조인
    private String settleMonth;
    private Long settleId;

    private String description;
    private LocalDate cancelDate;
    private String cancelReason;
    private Long issuedBy;
    private String issuedByName;           // users 조인

    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
