|
@@ -3,6 +3,8 @@ package com.abi.qms.platform.dto.req;
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
import lombok.Data;
|
|
|
+
|
|
|
+import javax.validation.constraints.NotEmpty;
|
|
|
import java.io.Serializable;
|
|
|
|
|
|
/**
|
|
@@ -13,9 +15,37 @@ import java.io.Serializable;
|
|
|
@ApiModel
|
|
|
public class CreateUserReq implements Serializable {
|
|
|
|
|
|
- @ApiModelProperty("xxxID")
|
|
|
- private String xxxId;
|
|
|
+ @NotEmpty(message = "员工工号为空")
|
|
|
+ @ApiModelProperty(value = "用户名")
|
|
|
+ private String userName;
|
|
|
+
|
|
|
+ @NotEmpty(message = "员工工号为空")
|
|
|
+ @ApiModelProperty(value = "工号")
|
|
|
+ private String employeeNo;
|
|
|
+
|
|
|
+ @NotEmpty(message = "员工工号为空")
|
|
|
+ @ApiModelProperty(value = "手机号")
|
|
|
+ private String phone;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "邮箱")
|
|
|
+ private String email;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "登录姓名")
|
|
|
+ private String loginName;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "登录密码")
|
|
|
+ private String password;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "是否ABI")
|
|
|
+ private Integer isAbi;
|
|
|
+
|
|
|
+ @ApiModelProperty(value = "部门id")
|
|
|
+ private Long departmentId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "供应商id")
|
|
|
+ private Long factoryId;
|
|
|
|
|
|
+ @ApiModelProperty(value = "角色id")
|
|
|
+ private Long roleId;
|
|
|
|
|
|
}
|