package jnpf.model.attendance.model;

import cn.hutool.core.collection.CollUtil;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.math.BigDecimal;
import java.util.List;

@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class LeaveTypeJsonData {
    /**
     * 字段
     */
    private String field;
    /**
     * 字段名称
     */
    private String fieldName;
    /**
     * 表头字段名
     */
    private String headName;
    /**
     * 请假天数
     */
    private BigDecimal leaveDays = BigDecimal.ZERO;
    /**
     * 请假小数数
     */
    private BigDecimal leaveHours = BigDecimal.ZERO;
    /**
     * 请假计薪小时数
     */
    private BigDecimal leavePayrollHours = BigDecimal.ZERO;
    /**
     * 请假申请记录集合
     */
    private List<LeaveTypeStaDetailsModel> applyList = CollUtil.newArrayList();
}
