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

import com.engine.salary.util.valid.DataCheck;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.List;

/**
 * @ClassName SalaryAcctResultBatchUpdateParam
 * @author Harryxzy
 * @date 2023/12/4 13:48
 * @description 批量更新参数
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class SalaryAcctResultBatchUpdateParam {

    //薪资核算记录的id
    @DataCheck(require = true, message = "薪资核算记录ID不得为空")
    private Long salaryAcctRecordId;

    //薪资项目的Id
    @DataCheck(require = true, message = "薪资项目id不得为空")
    private Long salaryItemId;

    // 薪资核算人员id
    private List<Long> idList;

    //薪资项目值
    private String value;

}
