package com.ga.core.vo.accounting;

import lombok.Data;

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

/**
 * 분개 엔트리 목록/상세 API 응답 — contract, agent 조인 포함
 */
@Data
public class ContractAccountingEntryResp {
    private Long entryId;
    private Long contractId;
    private String contractNo;
    private Long paymentId;
    private Long agentId;
    private String agentName;
    private LocalDate entryDate;
    private String debitAccount;
    private String creditAccount;
    private BigDecimal amount;
    private String description;
    /** NULL이면 미전기 상태 */
    private String journalNo;
    private LocalDateTime createdAt;
}
