package com.yn.bftl.thirdparty.modules.contract.dto;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.Valid;
import javax.validation.constraints.NotNull;

/**
 * 契约锁修改员工DTO
 *
 * @author huabiao
 * @create 2023/12/25  11:32
 **/
@Data
@ApiModel(value = "ContractLockUpdateEmployeeDTO", description = "契约锁修改员工DTO")
public class ContractLockUpdateEmployeeDTO {

    @ApiModelProperty(value = "员工信息")
    @NotNull
    @Valid
    private ContractLockUserDTO user;

    @ApiModelProperty(value = "员工编号")
    private String number;

    @ApiModelProperty(value = "子公司名称，若该值为空，则默认为平台方公司添加")
    private String tenantName;
}