All Downloads are FREE. Search and download functionalities are using the official Maven repository.

net.wicp.tams.cas.bean.models.SysPermissions Maven / Gradle / Ivy

package net.wicp.tams.cas.bean.models;

/**
 *
 * This class was generated by MyBatis Generator.
 * This class corresponds to the database table sys_permissions
 */
public class SysPermissions {

	/**
	 * Database Column Remarks: 权限编号 This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.id
	 * 
	 */
	private Long id;
	/**
	 * Database Column Remarks: 权限名 This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.name
	 * 
	 */
	private String name;
	/**
	 * Database Column Remarks: 操作类型,data:数据,url:功能 This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.opt_type
	 * 
	 */
	private String optType;
	/**
	 * Database Column Remarks: 数据权限有的模式:all,like,equal,expression This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.data_pattern
	 * 
	 */
	private String dataPattern;
	/**
	 * Database Column Remarks: 数据权限的值,跟模式搭配使用 This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.data_value
	 * 
	 */
	private String dataValue;
	/**
	 * Database Column Remarks: 功能权限的模式:*:全部地址  pre:前缀模式,regular:正则表达式 This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.url_pattern
	 * 
	 */
	private String urlPattern;
	/**
	 * Database Column Remarks: 功能权限用的值 This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.url_value
	 * 
	 */
	private String urlValue;
	/**
	 * Database Column Remarks: 租户id This field was generated by MyBatis Generator. This field corresponds to the database column sys_permissions.tenant_id
	 * 
	 */
	private Long tenantId;

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_permissions
	 * 
	 */
	public SysPermissions(Long id, String name, String optType, String dataPattern, String dataValue, String urlPattern,
			String urlValue, Long tenantId) {
		this.id = id;
		this.name = name;
		this.optType = optType;
		this.dataPattern = dataPattern;
		this.dataValue = dataValue;
		this.urlPattern = urlPattern;
		this.urlValue = urlValue;
		this.tenantId = tenantId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method corresponds to the database table sys_permissions
	 * 
	 */
	public SysPermissions() {
		super();
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.id
	 * @return  the value of sys_permissions.id
	 * 
	 */
	public Long getId() {
		return id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.id
	 * @param id  the value for sys_permissions.id
	 * 
	 */
	public void setId(Long id) {
		this.id = id;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.name
	 * @return  the value of sys_permissions.name
	 * 
	 */
	public String getName() {
		return name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.name
	 * @param name  the value for sys_permissions.name
	 * 
	 */
	public void setName(String name) {
		this.name = name;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.opt_type
	 * @return  the value of sys_permissions.opt_type
	 * 
	 */
	public String getOptType() {
		return optType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.opt_type
	 * @param optType  the value for sys_permissions.opt_type
	 * 
	 */
	public void setOptType(String optType) {
		this.optType = optType;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.data_pattern
	 * @return  the value of sys_permissions.data_pattern
	 * 
	 */
	public String getDataPattern() {
		return dataPattern;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.data_pattern
	 * @param dataPattern  the value for sys_permissions.data_pattern
	 * 
	 */
	public void setDataPattern(String dataPattern) {
		this.dataPattern = dataPattern;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.data_value
	 * @return  the value of sys_permissions.data_value
	 * 
	 */
	public String getDataValue() {
		return dataValue;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.data_value
	 * @param dataValue  the value for sys_permissions.data_value
	 * 
	 */
	public void setDataValue(String dataValue) {
		this.dataValue = dataValue;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.url_pattern
	 * @return  the value of sys_permissions.url_pattern
	 * 
	 */
	public String getUrlPattern() {
		return urlPattern;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.url_pattern
	 * @param urlPattern  the value for sys_permissions.url_pattern
	 * 
	 */
	public void setUrlPattern(String urlPattern) {
		this.urlPattern = urlPattern;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.url_value
	 * @return  the value of sys_permissions.url_value
	 * 
	 */
	public String getUrlValue() {
		return urlValue;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.url_value
	 * @param urlValue  the value for sys_permissions.url_value
	 * 
	 */
	public void setUrlValue(String urlValue) {
		this.urlValue = urlValue;
	}

	/**
	 * This method was generated by MyBatis Generator. This method returns the value of the database column sys_permissions.tenant_id
	 * @return  the value of sys_permissions.tenant_id
	 * 
	 */
	public Long getTenantId() {
		return tenantId;
	}

	/**
	 * This method was generated by MyBatis Generator. This method sets the value of the database column sys_permissions.tenant_id
	 * @param tenantId  the value for sys_permissions.tenant_id
	 * 
	 */
	public void setTenantId(Long tenantId) {
		this.tenantId = tenantId;
	}
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy