package com.ga.core.vo.ledger;

import lombok.Data;

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

/**
 * recruit_ledger / maintain_ledger 공통 VO. 두 테이블 구조가 동일하므로 같은 VO 사용.
 */
@Data
public class LedgerVO {
    private Long ledgerId;
    private Long contractId;
    private Long agentId;
    private String policyNo;
    private String companyCode;
    private String productCode;
    private String insuranceType;
    private Integer commissionYear;
    private BigDecimal premium;
    private String payMethod;
    private BigDecimal companyRate;
    private BigDecimal companyAmount;
    private BigDecimal payoutRate;
    private BigDecimal agentAmount;
    private BigDecimal taxAmount;
    private String reconcileStatus;
    private BigDecimal reconcileDiff;
    private String advanceYn;
    private BigDecimal advanceAmount;
    private String chargebackYn;
    private String settleMonth;
    private String status;
    private Integer version;
    private LocalDateTime createdAt;
    private LocalDateTime updatedAt;
}
