package com.zcloud.basic.info.dto;

import com.alibaba.cola.dto.Command;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

/**
 * web-client
 *
 * @Author zhangyue
 * @Date 2025-11-04 14:07:12
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class AppUserOnboardingCmd extends Command {

    @ApiModelProperty(value = "主键id", name = "id", required = true)
    @NotNull(message = "主键id不能为空")
    private Long id;

    @ApiModelProperty(value = "企业id", name = "corpinfoId", required = true)
    @NotNull(message = "企业id不能为空")
    private Long corpinfoId;

    @ApiModelProperty(value = "企业名称", name = "corpinfoName", required = true)
    @NotEmpty(message = "企业名称不能为空")
    private String corpinfoName;

    @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
    @NotNull(message = "部门id不能为空")
    private Long departmentId;

    @ApiModelProperty(value = "部门名称", name = "departmentName", required = true)
    @NotEmpty(message = "部门名称不能为空")
    private String departmentName;

    @ApiModelProperty(value = "岗位名称", name = "postName", required = true)
    @NotEmpty(message = "岗位名称不能为空")
    private String postName;

}

