package jj.tech.paolu.repository.mybatis.dao.support;

import jakarta.annotation.Generated;
import java.sql.JDBCType;
import org.mybatis.dynamic.sql.AliasableSqlTable;
import org.mybatis.dynamic.sql.SqlColumn;

public final class SysAdminDynamicSqlSupport {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source Table: yx..sys_admin")
    public static final SysAdmin sysAdmin = new SysAdmin();

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source field: yx..sys_admin.id")
    public static final SqlColumn<String> id = sysAdmin.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 static final SqlColumn<String> org_id = sysAdmin.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")
    public static final SqlColumn<Integer> type = sysAdmin.type;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.realname")
    public static final SqlColumn<String> realname = sysAdmin.realname;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.username")
    public static final SqlColumn<String> username = sysAdmin.username;

    /**
     * Database Column Remarks:
     *   sha3_256hex
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6881839+08:00", comments="Source field: yx..sys_admin.password")
    public static final SqlColumn<String> password = sysAdmin.password;

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6871864+08:00", comments="Source Table: yx..sys_admin")
    public static final class SysAdmin extends AliasableSqlTable<SysAdmin> {
        public final SqlColumn<String> id = column("id", JDBCType.VARCHAR);

        public final SqlColumn<String> org_id = column("org_id", JDBCType.VARCHAR);

        public final SqlColumn<Integer> type = column("type", JDBCType.INTEGER);

        public final SqlColumn<String> realname = column("realname", JDBCType.VARCHAR);

        public final SqlColumn<String> username = column("username", JDBCType.VARCHAR);

        public final SqlColumn<String> password = column("password", JDBCType.VARCHAR);

        public final SqlColumn<Integer> islock = column("islock", JDBCType.INTEGER);

        public SysAdmin() {
            super("sys_admin", SysAdmin::new);
        }
    }
}