39 lines
828 B
Java
39 lines
828 B
Java
package com.yj.earth.design;
|
|
|
|
import com.yj.earth.annotation.ExcludeField;
|
|
import io.swagger.v3.oas.annotations.media.Schema;
|
|
import lombok.Data;
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
@Data
|
|
public class User{
|
|
|
|
@Schema(description = "主键")
|
|
private String id;
|
|
|
|
@Schema(description = "用户名")
|
|
private String username;
|
|
|
|
@Schema(description = "密码")
|
|
private String password;
|
|
|
|
@Schema(description = "头像")
|
|
private String avatar;
|
|
|
|
@Schema(description = "昵称")
|
|
private String nickname;
|
|
|
|
@Schema(description = "手机号")
|
|
private String phone;
|
|
|
|
@Schema(description = "所属角色")
|
|
private String roleId;
|
|
|
|
@Schema(description = "创建时间")
|
|
private LocalDateTime createdAt;
|
|
|
|
@Schema(description = "更新时间")
|
|
private LocalDateTime updatedAt;
|
|
}
|