package cn.skcks.matrix.v2.orm.mybatis.dynamic.mapper;

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

public final class RoleDynamicSqlSupport {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source Table: role")
    public static final Role role = new Role();

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.id")
    public static final SqlColumn<Long> id = role.id;

    /**
     * Database Column Remarks:
     *   角色名
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.name")
    public static final SqlColumn<String> name = role.name;

    /**
     * Database Column Remarks:
     *   所属系统
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.system_id")
    public static final SqlColumn<String> systemId = role.systemId;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source field: role.active")
    public static final SqlColumn<Boolean> active = role.active;

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", comments="Source Table: role")
    public static final class Role extends AliasableSqlTable<Role> {
        public final SqlColumn<Long> id = column("id", JDBCType.BIGINT);

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

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

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

        public final SqlColumn<Boolean> active = column("active", JDBCType.BIT);

        public Role() {
            super("role", Role::new);
        }
    }
}
