All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.github.wslxm.springbootplus2.manage.sys.model.entity.SysUser Maven / Gradle / Ivy

The newest version!
package io.github.wslxm.springbootplus2.manage.sys.model.entity;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import io.github.wslxm.springbootplus2.core.base.model.BaseEntity;
import lombok.Data;
import lombok.ToString;

import java.time.LocalDateTime;

/**
 *   用户
 *
 * @author 王松
 * @WX-QQ 1720696548
 * @date 2019/11/14 21:06
 */
@Data
@ToString(callSuper = true)
@TableName(value = "t_sys_user")
public class SysUser extends BaseEntity {

    private static final long serialVersionUID = 4934650100711613453L;


    /**
     * 姓名/用户名
     */
    private String fullName;

    /**
     * 账号/用户名
     */
    private String username;
    /**
     * 手机号/第二账号
     */
    private String phone;

    /**
     * 密码
     */
    private String password;

    /**
     * 头像
     */
    private String headPic;

    /**
     * 年龄
     */
    private Integer age;

    /**
     * 性别
     */
    private Integer gender;

    /**
     * 地址
     */
    private String address;

    /**
     * 注册时间
     */
    private LocalDateTime regTime;

    /**
     * 最后登录时间
     */
    private LocalDateTime endTime;
    /**
     * 禁用 0-否,1-是
     */
    @TableField(value = "`disable`")
    private Integer disable;
    /**
     * 公司/部门
     */
    private String depIds;

    /**
     * 职位 职位(字典code)
     */
    private Integer position;

    /**
     * 备注
     */
    private String remarks;

    /**
     * 扩展字段 1
     */
    private String ext1;
    /**
     * 扩展字段 2
     */
    private String ext2;
    /**
     * 扩展字段 3
     */
    private String ext3;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy