package com.ga.core.vo.accounting;

import lombok.Data;

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

/**
 * accounting_close — 회계 결산 헤더 (V75)
 * INSERT / UPDATE 전용. 조인 필드 없음.
 */
@Data
public class AccountingCloseVO {
    private Long closeId;
    /** 결산 기간 키 (월: YYYY-MM, 분기: YYYY-Q1, 연: YYYY) */
    private String closePeriod;
    /** MONTHLY / QUARTERLY / YEARLY */
    private String closeType;
    /** DRAFT / CLOSED / REOPENED */
    private String closeStatus;
    /** 분개 채번 prefix */
    private String journalPrefix;
    private Integer journalCount;
    private BigDecimal totalDebit;
    private BigDecimal totalCredit;
    private LocalDateTime closedAt;
    private Long closedBy;
    private LocalDateTime reopenedAt;
    private Long reopenedBy;
    private String reopenReason;
    private LocalDateTime createdAt;
    private Long createdBy;
    private LocalDateTime updatedAt;
    private Long updatedBy;
}
