answerBi-backend/src/main/java/top/peng/answerbi/model/vo/UserVO.java
2023-07-12 10:18:59 +08:00

47 lines
702 B
Java
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

package top.peng.answerbi.model.vo;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;
/**
* 用户视图(脱敏)
*
* @author yunpeng
* @version 1.0 2023/5/16
*/
@Data
public class UserVO implements Serializable {
/**
* id
*/
private Long id;
/**
* 用户昵称
*/
private String userName;
/**
* 用户头像
*/
private String userAvatar;
/**
* 用户简介
*/
private String userProfile;
/**
* 用户角色user/admin/ban
*/
private String userRole;
/**
* 创建时间
*/
private Date createdTime;
private static final long serialVersionUID = 1L;
}