package com.ga.core.vo.installment;

import lombok.Data;

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

@Data
public class InstallmentRatioVO {
    private Long ratioId;
    private String productCategory;   // NULL = ALL 상품
    private Integer planYear;         // 1~7
    private Integer planMonth;        // NULL = 연 단위(연차 합계), 1~12 = 회차(월) 단위
    private BigDecimal ratioPercent;
    private LocalDate effectiveFrom;
    private LocalDate effectiveTo;    // NULL = 현재 유효
    private Boolean isActive;

    private LocalDateTime createdAt;
    private Long createdBy;
    private LocalDateTime updatedAt;
    private Long updatedBy;
}
