package com.ga.api.service.commission;

import com.ga.common.annotation.ExcelColumn;
import lombok.Data;

import java.math.BigDecimal;

/**
 * 환수채권 엑셀 export 행.
 * ga-core ClawbackReceivableResp 에 @ExcelColumn 없으므로 ga-api 전용 프로젝션.
 * TODO: ga-core 에 ClawbackReceivableExcelVO + selectCursorForExcel 추가 후 이 클래스 제거 가능.
 */
@Data
public class ClawbackReceivableExcelRow {

    @ExcelColumn(header = "설계사명", order = 1, width = 20)
    private String agentName;

    @ExcelColumn(header = "발생월", order = 2, width = 12)
    private String originSettleMonth;

    @ExcelColumn(header = "발생액", order = 3, width = 15)
    private BigDecimal originalAmount;

    @ExcelColumn(header = "회수액", order = 4, width = 15)
    private BigDecimal recoveredAmount;

    @ExcelColumn(header = "잔액", order = 5, width = 15)
    private BigDecimal balance;

    @ExcelColumn(header = "상태", order = 6, width = 15, codeGroup = "CLAWBACK_RCV_STATUS")
    private String status;
}
