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

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

import java.util.List;

/**
 * @author Harryxzy
 * @ClassName SyncSalaryItemParam
 * @date 2023/08/30 17:51
 * @description 同步薪资项目到账套中参数
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class SyncSalaryItemParam {

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

    // 薪资账套id
    @DataCheck(require = true, message = "薪资账套不能为空")
    private List<Long> salarySobIds;
}
