package com.ga.core.vo.org;

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

import java.time.LocalDate;

@Data
public class AgentExcelVO {
    @ExcelColumn(header = "설계사명",   order = 1, width = 12, required = true)
    private String agentName;

    @ExcelColumn(header = "사번",       order = 2, width = 14)
    private String licenseNo;

    @ExcelColumn(header = "소속",       order = 3, width = 18)
    private String orgName;

    @ExcelColumn(header = "직급",       order = 4, width = 10)
    private String gradeName;

    @ExcelColumn(header = "전화번호",   order = 5, width = 16)
    private String phone;

    @ExcelColumn(header = "이메일",     order = 6, width = 24)
    private String email;

    @ExcelColumn(header = "주민번호",   order = 7, width = 16, masked = true)
    private String residentNo;

    @ExcelColumn(header = "상태",       order = 8, width = 10, codeGroup = "AGENT_STATUS")
    private String status;

    @ExcelColumn(header = "입사일",     order = 9, width = 12, format = "yyyy-MM-dd")
    private LocalDate joinDate;
}
