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 SysResourceDynamicSqlSupport {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source Table: yx..sys_resource")
    public static final SysResource sysResource = new SysResource();

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

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

    /**
     * Database Column Remarks:
     *   菜单排列顺序
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.level")
    public static final SqlColumn<Short> level = sysResource.level;

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

    /**
     * Database Column Remarks:
     *   资源类型
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.types")
    public static final SqlColumn<String> types = sysResource.types;

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

    /**
     * Database Column Remarks:
     *   菜单图标
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.icon")
    public static final SqlColumn<String> icon = sysResource.icon;

    /**
     * Database Column Remarks:
     *   是否折叠隐藏
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7031795+08:00", comments="Source field: yx..sys_resource.ishide")
    public static final SqlColumn<Byte> ishide = sysResource.ishide;

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

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

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

        public final SqlColumn<Short> level = column("level", JDBCType.SMALLINT);

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

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

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

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

        public final SqlColumn<Byte> ishide = column("ishide", JDBCType.TINYINT);

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

        public SysResource() {
            super("sys_resource", SysResource::new);
        }
    }
}