package jj.tech.paolu.repository.mybatis.entity;

import jakarta.annotation.Generated;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table yx..sys_admin
 */
public class SysAdmin {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id")
    private String id;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id")
    private String org_id;

    /**
     * Database Column Remarks:
     *   0管理员,1普通用户
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type")
    private Integer type;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.realname")
    private String realname;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.username")
    private String username;

    /**
     * Database Column Remarks:
     *   sha3_256hex
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.password")
    private String password;

    /**
     * Database Column Remarks:
     *   0正常,1锁定
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.islock")
    private Integer islock;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id")
    public String getId() {
        return id;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id")
    public void setId(String id) {
        this.id = id == null ? null : id.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id")
    public String getOrg_id() {
        return org_id;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.org_id")
    public void setOrg_id(String org_id) {
        this.org_id = org_id == null ? null : org_id.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type")
    public Integer getType() {
        return type;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.type")
    public void setType(Integer type) {
        this.type = type;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.realname")
    public String getRealname() {
        return realname;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.realname")
    public void setRealname(String realname) {
        this.realname = realname == null ? null : realname.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.username")
    public String getUsername() {
        return username;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.username")
    public void setUsername(String username) {
        this.username = username == null ? null : username.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.password")
    public String getPassword() {
        return password;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.password")
    public void setPassword(String password) {
        this.password = password == null ? null : password.trim();
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.islock")
    public Integer getIslock() {
        return islock;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.islock")
    public void setIslock(Integer islock) {
        this.islock = islock;
    }
}