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

import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @Description: 薪资档案
 * @Author: wangxiangzhong
 * @Date: 2021-11-03 10:51
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//薪资档案保存参数")
public class SalaryArchiveSaveParam {

    //主键")
    private Long id;

    //人员信息表的主键id")
    private Long employeeId;

//    public static WeaResult<String> checkParam(SalaryArchiveSaveParam saveParam, Long employeeId, String tenantKey) {
//        if (saveParam.getEmployeeId() == null) {
//            return WeaResult.fail(SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 100311, "人员信息表的主键id必传"));
//        }
//        return WeaResult.success(StringUtils.EMPTY);
//    }
}
