@Data
@ApiModel(“用户-表单对象”)
public class SportsUserCreatForm{
@ApiModelProperty(value=“用户唯一标识”,example = “0”)
@NotNull(groups = {Update.class})
private long id;
@ApiModelProperty(value = “所属机构唯一标识(冗余字段)”, example = “0”)
private long organizationId;
@ApiModelProperty(“登录用户名”)
@NotBlank(message = “用户名不能为空”)
@Length(max = 10, message = “用户名最长为10位”)
private String loginName;
@ApiModelProperty(“密码”)
private String password;
@ApiModelProperty(“手机号”)
private String phone;
@ApiModelProperty(“邮箱”)http://yes-esports.com/
private String email;
@ApiModelProperty(“性别( ‘MALE’, ‘FEMALE’ )”)
@NotNull(message = “用户性别不能为空”)
private SportsUserEnumGender gander;
@ApiModelProperty(value = “出生日期-13位时间戳”,example = “0”)
private long birthday;
@ApiModelProperty(“身份证号”)
private String idNumber;
@ApiModelProperty(“用户昵称”)
private String nickname;
}