|
@ -1,8 +1,6 @@ |
|
|
package com.qyft.gd.system.model.form; |
|
|
package com.qyft.gd.system.model.form; |
|
|
|
|
|
|
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
import io.swagger.v3.oas.annotations.media.Schema; |
|
|
import jakarta.validation.constraints.NotBlank; |
|
|
|
|
|
import jakarta.validation.constraints.NotEmpty; |
|
|
|
|
|
import lombok.Data; |
|
|
import lombok.Data; |
|
|
|
|
|
|
|
|
import java.util.List; |
|
|
import java.util.List; |
|
@ -14,25 +12,25 @@ import java.util.List; |
|
|
@Data |
|
|
@Data |
|
|
public class UserForm { |
|
|
public class UserForm { |
|
|
|
|
|
|
|
|
@Schema(description="用户ID") |
|
|
|
|
|
|
|
|
@Schema(description = "用户ID") |
|
|
private Long id; |
|
|
private Long id; |
|
|
|
|
|
|
|
|
@Schema(description="用户名") |
|
|
|
|
|
|
|
|
@Schema(description = "用户名") |
|
|
private String username; |
|
|
private String username; |
|
|
|
|
|
|
|
|
@Schema(description="昵称") |
|
|
|
|
|
|
|
|
@Schema(description = "昵称") |
|
|
private String nickname; |
|
|
private String nickname; |
|
|
|
|
|
|
|
|
@Schema(description="性别") |
|
|
|
|
|
|
|
|
@Schema(description = "性别") |
|
|
private Integer gender; |
|
|
private Integer gender; |
|
|
|
|
|
|
|
|
@Schema(description="用户头像") |
|
|
|
|
|
|
|
|
@Schema(description = "用户头像") |
|
|
private String avatar; |
|
|
private String avatar; |
|
|
|
|
|
|
|
|
@Schema(description="用户状态(1:正常;0:禁用)") |
|
|
|
|
|
|
|
|
@Schema(description = "用户状态(1:正常;0:禁用)") |
|
|
private Integer status; |
|
|
private Integer status; |
|
|
|
|
|
|
|
|
@Schema(description="角色ID集合") |
|
|
|
|
|
|
|
|
@Schema(description = "角色ID集合") |
|
|
private List<Long> roleIds; |
|
|
private List<Long> roleIds; |
|
|
|
|
|
|
|
|
} |
|
|
} |