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

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

import java.util.Collection;

/**
 * 薪资核算结果的校验参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Accessors(chain = true)
@NoArgsConstructor
@AllArgsConstructor
public class SalaryAcctCheckParam {

    /**
     * 不是employeeId而是salaryAcctEmpId
     */
    //核算人员的id
    private Collection<Long> ids;

    //薪资核算记录id
    @DataCheck(require = true,message = "参数错误，薪资核算记录ID不能为空")
    private Long salaryAcctRecordId;
}
