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

com.github.rexsheng.springboot.faster.system.entity.User Maven / Gradle / Ivy

The newest version!
package com.github.rexsheng.springboot.faster.system.entity;

import com.mybatisflex.annotation.Id;
import com.mybatisflex.annotation.KeyType;
import com.mybatisflex.annotation.Table;
import java.io.Serializable;
import java.time.LocalDateTime;

import java.io.Serial;


/**
 * 用户表 实体类。
 *
 * @author shengxp
 * @since 2024-09-03
 */
@Table("sys_user")
public class User implements Serializable {

    @Serial
    private static final long serialVersionUID = 1L;

    /**
     * 用户ID
     */
    @Id(keyType = KeyType.Auto)
    private Long id;

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

    /**
     * 登录账号
     */
    private String loginAccount;

    /**
     * 登录密码
     */
    private String loginPassword;

    /**
     * 部门ID
     */
    private Integer deptId;

    /**
     * 邮箱
     */
    private String mail;

    /**
     * 手机号
     */
    private String phone;

    /**
     * 性别(0男,1女)
     */
    private Boolean sex;

    /**
     * 头像
     */
    private String avatar;

    /**
     * 上次登录时间
     */
    private LocalDateTime lastLoginTime;

    /**
     * 上次修改密码时间
     */
    private LocalDateTime lastPasswordTime;

    /**
     * 账号过期时间
     */
    private LocalDateTime accountExpiredTime;

    /**
     * 账号锁定截止时间
     */
    private LocalDateTime accountLockedTime;

    /**
     * 密码过期时间
     */
    private LocalDateTime passwordExpiredTime;

    /**
     * 状态(0正常,1停用)
     */
    private Integer status;

    /**
     * 是否删除(0正常,1已删除)
     */
    private Boolean isDel;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 创建人
     */
    private Long createUser;

    /**
     * 修改时间
     */
    private LocalDateTime updateTime;

    /**
     * 修改人
     */
    private Long updateUser;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getLoginAccount() {
        return loginAccount;
    }

    public void setLoginAccount(String loginAccount) {
        this.loginAccount = loginAccount;
    }

    public String getLoginPassword() {
        return loginPassword;
    }

    public void setLoginPassword(String loginPassword) {
        this.loginPassword = loginPassword;
    }

    public Integer getDeptId() {
        return deptId;
    }

    public void setDeptId(Integer deptId) {
        this.deptId = deptId;
    }

    public String getMail() {
        return mail;
    }

    public void setMail(String mail) {
        this.mail = mail;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public Boolean getSex() {
        return sex;
    }

    public void setSex(Boolean sex) {
        this.sex = sex;
    }

    public String getAvatar() {
        return avatar;
    }

    public void setAvatar(String avatar) {
        this.avatar = avatar;
    }

    public LocalDateTime getLastLoginTime() {
        return lastLoginTime;
    }

    public void setLastLoginTime(LocalDateTime lastLoginTime) {
        this.lastLoginTime = lastLoginTime;
    }

    public LocalDateTime getLastPasswordTime() {
        return lastPasswordTime;
    }

    public void setLastPasswordTime(LocalDateTime lastPasswordTime) {
        this.lastPasswordTime = lastPasswordTime;
    }

    public LocalDateTime getAccountExpiredTime() {
        return accountExpiredTime;
    }

    public void setAccountExpiredTime(LocalDateTime accountExpiredTime) {
        this.accountExpiredTime = accountExpiredTime;
    }

    public LocalDateTime getAccountLockedTime() {
        return accountLockedTime;
    }

    public void setAccountLockedTime(LocalDateTime accountLockedTime) {
        this.accountLockedTime = accountLockedTime;
    }

    public LocalDateTime getPasswordExpiredTime() {
        return passwordExpiredTime;
    }

    public void setPasswordExpiredTime(LocalDateTime passwordExpiredTime) {
        this.passwordExpiredTime = passwordExpiredTime;
    }

    public Integer getStatus() {
        return status;
    }

    public void setStatus(Integer status) {
        this.status = status;
    }

    public Boolean getIsDel() {
        return isDel;
    }

    public void setIsDel(Boolean isDel) {
        this.isDel = isDel;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public Long getCreateUser() {
        return createUser;
    }

    public void setCreateUser(Long createUser) {
        this.createUser = createUser;
    }

    public LocalDateTime getUpdateTime() {
        return updateTime;
    }

    public void setUpdateTime(LocalDateTime updateTime) {
        this.updateTime = updateTime;
    }

    public Long getUpdateUser() {
        return updateUser;
    }

    public void setUpdateUser(Long updateUser) {
        this.updateUser = updateUser;
    }

}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy