package com.engine.salary.entity.salaryarchive.param;

import com.engine.salary.enums.salaryarchive.SalaryArchiveStatusEnum;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;
import java.util.List;

/**
 * 发薪设置保存参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryArchiveSetPaySaveParam {

    //状态，PENDING：待定薪；FIXED：发薪；SUSPEND：待停薪
    private SalaryArchiveStatusEnum status;

    //薪资档案id
    private Long salaryArchiveId;

    //收入所得项目
//    private Integer incomeCategory;
//
//    //薪资账套
//    private List<Long> salarySobIds;

    //起始发薪日期
    private Date payStartDate;

    //最后发薪日期
    private Date payEndDate;

    //薪资项目：待定薪使用
    private List<SalaryArchiveItemDetailSaveParam> salaryArchiveItems;
}
