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.Collection;

/**
 * 添加核算人员参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SalaryAcctEmployeeSaveParam {

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

    @DataCheck(require = true, message = "参数错误，人员不能为空")
    private Collection<Long> employeeIds;
}
