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

    /**
     * Database Column Remarks:
     *   父类id
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.pid")
    private Integer pid;

    /**
     * Database Column Remarks:
     *   1:url,2:菜单
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.types")
    private Integer types;

    /**
     * Database Column Remarks:
     *   0:url,1:一级菜单, 2:二级菜单
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6811834+08:00", comments="Source field: yx..sys_urls.level")
    private Integer level;

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

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

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

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

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

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

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

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

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

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

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

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

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

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