You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
package com.supervision.model;
|
|
|
|
|
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.IdType;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableField;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableId;
|
|
|
|
|
import com.baomidou.mybatisplus.annotation.TableName;
|
|
|
|
|
import java.io.Serializable;
|
|
|
|
|
import java.time.LocalDateTime;
|
|
|
|
|
|
|
|
|
|
import io.swagger.annotations.ApiModel;
|
|
|
|
|
import io.swagger.annotations.ApiModelProperty;
|
|
|
|
|
import lombok.Data;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户表
|
|
|
|
|
* @TableName vp_user
|
|
|
|
|
*/
|
|
|
|
|
@TableName(value ="vp_user")
|
|
|
|
|
@Data
|
|
|
|
|
@ApiModel
|
|
|
|
|
public class User implements Serializable {
|
|
|
|
|
/**
|
|
|
|
|
* 主键
|
|
|
|
|
*/
|
|
|
|
|
@TableId
|
|
|
|
|
private String id;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户账户
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("用户账户")
|
|
|
|
|
private String account;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户名称
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("用户名称")
|
|
|
|
|
private String name;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户密码
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("用户密码")
|
|
|
|
|
private String password;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 用户角色编码,0管理员 1普通用户
|
|
|
|
|
*/
|
|
|
|
|
@ApiModelProperty("用户角色编码,0管理员 1普通用户 2运营人员")
|
|
|
|
|
private String roleCode;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("账号状态 0正常 1停用")
|
|
|
|
|
private Integer status;
|
|
|
|
|
|
|
|
|
|
@ApiModelProperty("最近登录时间")
|
|
|
|
|
private LocalDateTime recentLoginTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建人ID
|
|
|
|
|
*/
|
|
|
|
|
private String createUserId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 创建时间
|
|
|
|
|
*/
|
|
|
|
|
private LocalDateTime createTime;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新人
|
|
|
|
|
*/
|
|
|
|
|
private String updateUserId;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 更新时间
|
|
|
|
|
*/
|
|
|
|
|
private LocalDateTime updateTime;
|
|
|
|
|
|
|
|
|
|
@TableField(exist = false)
|
|
|
|
|
private static final long serialVersionUID = 1L;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|