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

import com.engine.salary.entity.datacollection.dto.VariableArchiveItemDTO;
import com.engine.salary.util.valid.DataCheck;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

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


@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//数据采集-浮动薪酬档案保存参数
public class VariableArchiveSaveParam  {

    // 主键id
    private Long id;

    // 薪资年月
    @DataCheck(require = true,message = "薪资所属月不能为空")
    private String salaryMonth;

    @DataCheck(require = true,message = "义务人id不能为空")
    private Long taxAgentIds;

    private Date salaryMonthDate;

    // 人员id
    private Long employeeId;

    // 浮动值
    private List<VariableArchiveItemDTO> itemValueList;
}
