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_resource
 */
public class SysResource {
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7011827+08:00", comments="Source field: yx..sys_resource.id")
    private String id;

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

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

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

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

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

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

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

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

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.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.7021794+08:00", comments="Source field: yx..sys_resource.parent_id")
    public String getParent_id() {
        return parent_id;
    }

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.level")
    public Short getLevel() {
        return level;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.level")
    public void setLevel(Short level) {
        this.level = level;
    }

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

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

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

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

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

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

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

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.ishide")
    public Byte getIshide() {
        return ishide;
    }

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7021794+08:00", comments="Source field: yx..sys_resource.ishide")
    public void setIshide(Byte ishide) {
        this.ishide = ishide;
    }

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

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