AccountInfo.java 1.36 KB
Newer Older
liaoanyuan's avatar
liaoanyuan committed
1 2
package cn.wisenergy.model.app;

cy's avatar
cy committed
3
import com.baomidou.mybatisplus.annotation.TableName;
liaoanyuan's avatar
liaoanyuan committed
4 5 6 7 8 9 10
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

11 12 13
/**
 * 管理员实体类
 */
liaoanyuan's avatar
liaoanyuan committed
14 15
@Data
@ApiModel(value = "AccountInfo")
cy's avatar
cy committed
16
@TableName("account")
liaoanyuan's avatar
liaoanyuan committed
17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59
public class AccountInfo implements Serializable {

    private static final long serialVersionUID = 3050641578536493424L;
    /**
     * 管理员主键id
     */
    @ApiModelProperty(name ="id",value = "管理员主键id")
    private Integer id;

    /**
     * 管理员账号
     */
    @ApiModelProperty(name = "name",value = "管理员账号")
    private String userName;

    /**
     * 管理员密码
     */
    @ApiModelProperty(name="password",value = "管理员密码")
    private String password;

    /**
     * 头像
     */
    @ApiModelProperty(name = "headImage",value = "头像")
    private String headImage;

    /**
     * 是否删除
     */
    @ApiModelProperty(name = "isDelete",value = "是否删除 0:正常 1:删除")
    private Integer isDelete;
    /**
     * 创建时间
     */
    @ApiModelProperty(name = "createTime",value = "创建时间")
    private Date createTime;
    /**
     * 修改时间
     */
    @ApiModelProperty(name = "updateTime",value = "修改时间")
    private Date updateTime;
}