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;

/**
 * 企业主账号新增数据
 *
 * @Author 王轩
 * @Date 2025-10-28 16:42:36
 */
@EqualsAndHashCode(callSuper = true)
@Data
@NoArgsConstructor
@AllArgsConstructor
public class SysCorpUserAddCmd extends Command {
    @ApiModelProperty(value = "用户名", name = "username", required = true)
    @NotEmpty(message = "用户名不能为空")
    private String username;
    @ApiModelProperty(value = "密码", name = "password", required = true)
    @NotEmpty(message = "密码不能为空")
    private String password;
    @ApiModelProperty(value = "姓名", name = "name", required = true)
    @NotEmpty(message = "姓名不能为空")
    private String name;
    //    @ApiModelProperty(value = "企业", name = "corpinfoId", required = true)
    private Long corpinfoId;
    //    @ApiModelProperty(value = "部门id", name = "departmentId", required = true)
    private Long departmentId;
    @ApiModelProperty(value = "1监管2企业3相关方", name = "userType", required = true)
    @NotEmpty(message = "1监管2企业3相关方不能为空")
    private String userType;
}

