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

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.level")
    private Integer level;

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

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

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

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.is_open")
    private Integer is_open;

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7081804+08:00", comments="Source field: yx..sys_menu.sort")
    private Integer sort;

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

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.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.7071804+08:00", comments="Source field: yx..sys_menu.level")
    public Integer getLevel() {
        return level;
    }

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

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

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

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

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

    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.7071804+08:00", comments="Source field: yx..sys_menu.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.7081804+08:00", comments="Source field: yx..sys_menu.is_open")
    public Integer getIs_open() {
        return is_open;
    }

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

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

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

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

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