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

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

/**
 * 个税扣缴义务人保存参数
 * <p>Copyright: Copyright (c) 2022</p>
 * <p>Company: 泛微软件</p>
 *
 * @author qiantao
 * @version 1.0
 **/
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
//个税扣缴义务人保存参数")
public class TaxAgentSaveParam {

    //主键id
    private Long id;

    //名称
    private String name;

    //备注
    private String description;

//    public static WeaResult<String> checkParam(TaxAgentSaveParam saveParam, Long employeeId, String tenantKey) {
//        if (StringUtils.isEmpty(saveParam.getName())) {
//            return WeaResult.fail(SalaryI18nUtil.getI18nLabel(tenantKey, employeeId, 100318, "名称必填"));
//        }
//        return WeaResult.success(StringUtils.EMPTY);
//    }
}
