content: package io.github.xxyopen.novel.dao.entity;
  
  import com.baomidou.mybatisplus.annotation.IdType;
  import com.baomidou.mybatisplus.annotation.TableId;
  import com.baomidou.mybatisplus.annotation.TableName;
  import java.io.Serializable;
  import java.time.LocalDateTime;
  
  /**
   * <p>
   * 系统用户
   * </p>
   *
   * @author xiongxiaoyang
   * @date 2022/05/12
   */
  @TableName("sys_user")
  public class SysUser implements Serializable {
  
      private static final long serialVersionUID = 1L;
  
      @TableId(value = "id", type = IdType.AUTO)
      private Long id;
  
      /**
       * 用户名
       */
      private String username;
  
      /**
       * 密码
       */
      private String password;
  
      /**
       * 真实姓名
       */
      private String name;
  
      /**
       * 性别;0-男 1-女
       */
      private Integer sex;
  
      /**
       * 出身日期
       */
      private LocalDateTime birth;
  
      /**
       * 邮箱
       */
      private String email;
  
      /**
       * 手机号
       */
      private String mobile;
  
      /**
       * 状态;0-禁用 1-正常
       */
      private Integer status;
  
      /**
       * 创建时间
       */
      private LocalDateTime createTime;
  
      /**
       * 更新时间
       */
      private LocalDateTime updateTime;
  
  
      public Long getId() {
          return id;
      }
  
      public void setId(Long id) {
          this.id = id;
      }
  
      public String getUsername() {
          return username;
      }
  
      public void setUsername(String username) {
          this.username = username;
      }
  
      public String getPassword() {
          return password;
      }
  
      public void setPassword(String password) {
          this.password = password;
      }
  
      public String getName() {
          return name;
      }
  
      public void setName(String name) {
          this.name = name;
      }
  
      public Integer getSex() {
          return sex;
      }
  
      public void setSex(Integer sex) {
          this.sex = sex;
      }
  
      public LocalDateTime getBirth() {
          return birth;
      }
  
      public void setBirth(LocalDateTime birth) {
          this.birth = birth;
      }
  
      public String getEmail() {
          return email;
      }
  
      public void setEmail(String email) {
          this.email = email;
      }
  
      public String getMobile() {
          return mobile;
      }
  
      public void setMobile(String mobile) {
          this.mobile = mobile;
      }
  
      public Integer getStatus() {
          return status;
      }
  
      public void setStatus(Integer status) {
          this.status = status;
      }
  
      public LocalDateTime getCreateTime() {
          return createTime;
      }
  
      public void setCreateTime(LocalDateTime createTime) {
          this.createTime = createTime;
      }
  
      public LocalDateTime getUpdateTime() {
          return updateTime;
      }
  
      public void setUpdateTime(LocalDateTime updateTime) {
          this.updateTime = updateTime;
      }
  
      @Override
      public String toString() {
          return "SysUser{" +
          "id=" + id +
          ", username=" + username +
          ", password=" + password +
          ", name=" + name +
          ", sex=" + sex +
          ", birth=" + birth +
          ", email=" + email +
          ", mobile=" + mobile +
          ", status=" + status +
          ", createTime=" + createTime +
          ", updateTime=" + updateTime +
          "}";
      }
  }
  