net.wicp.tams.cas.bean.models.SysRole 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_role
*/
public class SysRole {
/**
* This field was generated by MyBatis Generator. This field corresponds to the database column sys_role.id
*
*/
private Long id;
/**
* Database Column Remarks: 角色名 This field was generated by MyBatis Generator. This field corresponds to the database column sys_role.name
*
*/
private String name;
/**
* Database Column Remarks: 状态 no:禁用 yes:正常 This field was generated by MyBatis Generator. This field corresponds to the database column sys_role.status
*
*/
private String status;
/**
* Database Column Remarks: 备注 This field was generated by MyBatis Generator. This field corresponds to the database column sys_role.remark
*
*/
private String remark;
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
public SysRole(Long id, String name, String status, String remark) {
this.id = id;
this.name = name;
this.status = status;
this.remark = remark;
}
/**
* This method was generated by MyBatis Generator. This method corresponds to the database table sys_role
*
*/
public SysRole() {
super();
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_role.id
* @return the value of sys_role.id
*
*/
public Long getId() {
return id;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role.id
* @param id the value for sys_role.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_role.name
* @return the value of sys_role.name
*
*/
public String getName() {
return name;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role.name
* @param name the value for sys_role.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_role.status
* @return the value of sys_role.status
*
*/
public String getStatus() {
return status;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role.status
* @param status the value for sys_role.status
*
*/
public void setStatus(String status) {
this.status = status;
}
/**
* This method was generated by MyBatis Generator. This method returns the value of the database column sys_role.remark
* @return the value of sys_role.remark
*
*/
public String getRemark() {
return remark;
}
/**
* This method was generated by MyBatis Generator. This method sets the value of the database column sys_role.remark
* @param remark the value for sys_role.remark
*
*/
public void setRemark(String remark) {
this.remark = remark;
}
}