You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
ForestBlog/src/java/entity/User.java

46 lines
802 B

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

package com.liuyanzhao.ssm.blog.entity;
import lombok.Data;
import java.io.Serializable;
import java.util.Date;
/**
* @author liuyanzhao
*/
@Data
public class User implements Serializable{
private static final long serialVersionUID = -4415517704211731385L;
private Integer userId;
private String userName;
private String userPass;
private String userNickname;
private String userEmail;
private String userUrl;
private String userAvatar;
private String userLastLoginIp;
private Date userRegisterTime;
private Date userLastLoginTime;
private Integer userStatus;
/**
* 用户角色admin/user
*/
private String userRole;
/**
* 文章数量(不是数据库字段)
*/
private Integer articleCount;
}