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

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

    /**
     * Database Column Remarks:
     *   对应sys_urls的url
     */
    @Generated(value="org.mybatis.generator.api.MyBatisGenerator", date="2024-09-27T03:01:29.6921849+08:00", comments="Source field: yx..sys_role_url.url")
    private String url;

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

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

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

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

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

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

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