package com.ruoyi.management.domain;
|
|
import java.util.Date;
|
import com.baomidou.mybatisplus.annotation.TableName;
|
import com.baomidou.mybatisplus.annotation.TableField;
|
import com.baomidou.mybatisplus.annotation.IdType;
|
import com.baomidou.mybatisplus.annotation.TableId;
|
import com.ruoyi.common.core.web.domain.BaseModel;
|
|
import java.io.Serializable;
|
|
/**
|
* <p>
|
* 角色信息表
|
* </p>
|
*
|
* @author 无关风月
|
* @since 2024-04-26
|
*/
|
@TableName("sys_role")
|
public class SysRole extends BaseModel {
|
|
private static final long serialVersionUID = 1L;
|
|
/**
|
* 角色ID
|
*/
|
@TableId(value = "role_id", type = IdType.AUTO)
|
private Long roleId;
|
/**
|
* 角色名称
|
*/
|
@TableField("role_name")
|
private String roleName;
|
/**
|
* 角色权限字符串
|
*/
|
@TableField("role_key")
|
private String roleKey;
|
/**
|
* 显示顺序
|
*/
|
@TableField("role_sort")
|
private Integer roleSort;
|
/**
|
* 数据范围(1:全部数据权限 2:自定数据权限 3:本部门数据权限 4:本部门及以下数据权限)
|
*/
|
@TableField("data_scope")
|
private String dataScope;
|
/**
|
* 菜单树选择项是否关联显示
|
*/
|
@TableField("menu_check_strictly")
|
private Integer menuCheckStrictly;
|
/**
|
* 部门树选择项是否关联显示
|
*/
|
@TableField("dept_check_strictly")
|
private Integer deptCheckStrictly;
|
/**
|
* 角色状态(0正常 1停用)
|
*/
|
private String status;
|
/**
|
* 删除标志(0代表存在 2代表删除)
|
*/
|
@TableField("del_flag")
|
private String delFlag;
|
/**
|
* 创建者
|
*/
|
@TableField("create_by")
|
private String createBy;
|
/**
|
* 创建时间
|
*/
|
@TableField("create_time")
|
private Date createTime;
|
/**
|
* 更新者
|
*/
|
@TableField("update_by")
|
private String updateBy;
|
/**
|
* 更新时间
|
*/
|
@TableField("update_time")
|
private Date updateTime;
|
/**
|
* 备注
|
*/
|
private String remark;
|
/**
|
* 车辆数据权限:1=所有数据 2=已租 3=未租 4=已租(仅自己负责的合同) 5=无数据权限
|
*/
|
private Integer carDataAuth;
|
/**
|
* 车务数据权限:1=所有数据 2=已租 3=未租 4=已租(仅自己负责的合同) 5=无数据权限
|
*/
|
private Integer carTrainOperAuth;
|
/**
|
* 合同数据权限:1=所有数据 2=仅自己负责的合同 3=无数据权限
|
*/
|
private Integer contractDataAuth;
|
/**
|
* 公司id
|
*/
|
private Integer companyId;
|
|
|
public Long getRoleId() {
|
return roleId;
|
}
|
|
public void setRoleId(Long roleId) {
|
this.roleId = roleId;
|
}
|
|
public String getRoleName() {
|
return roleName;
|
}
|
|
public void setRoleName(String roleName) {
|
this.roleName = roleName;
|
}
|
|
public String getRoleKey() {
|
return roleKey;
|
}
|
|
public void setRoleKey(String roleKey) {
|
this.roleKey = roleKey;
|
}
|
|
public Integer getRoleSort() {
|
return roleSort;
|
}
|
|
public void setRoleSort(Integer roleSort) {
|
this.roleSort = roleSort;
|
}
|
|
public String getDataScope() {
|
return dataScope;
|
}
|
|
public void setDataScope(String dataScope) {
|
this.dataScope = dataScope;
|
}
|
|
public Integer getMenuCheckStrictly() {
|
return menuCheckStrictly;
|
}
|
|
public void setMenuCheckStrictly(Integer menuCheckStrictly) {
|
this.menuCheckStrictly = menuCheckStrictly;
|
}
|
|
public Integer getDeptCheckStrictly() {
|
return deptCheckStrictly;
|
}
|
|
public void setDeptCheckStrictly(Integer deptCheckStrictly) {
|
this.deptCheckStrictly = deptCheckStrictly;
|
}
|
|
public String getStatus() {
|
return status;
|
}
|
|
public void setStatus(String status) {
|
this.status = status;
|
}
|
|
public String getDelFlag() {
|
return delFlag;
|
}
|
|
public void setDelFlag(String delFlag) {
|
this.delFlag = delFlag;
|
}
|
|
public String getCreateBy() {
|
return createBy;
|
}
|
|
public void setCreateBy(String createBy) {
|
this.createBy = createBy;
|
}
|
|
public Date getCreateTime() {
|
return createTime;
|
}
|
|
public void setCreateTime(Date createTime) {
|
this.createTime = createTime;
|
}
|
|
public String getUpdateBy() {
|
return updateBy;
|
}
|
|
public void setUpdateBy(String updateBy) {
|
this.updateBy = updateBy;
|
}
|
|
public Date getUpdateTime() {
|
return updateTime;
|
}
|
|
public void setUpdateTime(Date updateTime) {
|
this.updateTime = updateTime;
|
}
|
|
public String getRemark() {
|
return remark;
|
}
|
|
public void setRemark(String remark) {
|
this.remark = remark;
|
}
|
|
public Integer getCarDataAuth() {
|
return carDataAuth;
|
}
|
|
public void setCarDataAuth(Integer carDataAuth) {
|
this.carDataAuth = carDataAuth;
|
}
|
|
public Integer getCarTrainOperAuth() {
|
return carTrainOperAuth;
|
}
|
|
public void setCarTrainOperAuth(Integer carTrainOperAuth) {
|
this.carTrainOperAuth = carTrainOperAuth;
|
}
|
|
public Integer getContractDataAuth() {
|
return contractDataAuth;
|
}
|
|
public void setContractDataAuth(Integer contractDataAuth) {
|
this.contractDataAuth = contractDataAuth;
|
}
|
|
public Integer getCompanyId() {
|
return companyId;
|
}
|
|
public void setCompanyId(Integer companyId) {
|
this.companyId = companyId;
|
}
|
|
@Override
|
public String toString() {
|
return "SysRole{" +
|
", roleId=" + roleId +
|
", roleName=" + roleName +
|
", roleKey=" + roleKey +
|
", roleSort=" + roleSort +
|
", dataScope=" + dataScope +
|
", menuCheckStrictly=" + menuCheckStrictly +
|
", deptCheckStrictly=" + deptCheckStrictly +
|
", status=" + status +
|
", delFlag=" + delFlag +
|
", createBy=" + createBy +
|
", createTime=" + createTime +
|
", updateBy=" + updateBy +
|
", updateTime=" + updateTime +
|
", remark=" + remark +
|
", carDataAuth=" + carDataAuth +
|
", carTrainOperAuth=" + carTrainOperAuth +
|
", contractDataAuth=" + contractDataAuth +
|
", companyId=" + companyId +
|
"}";
|
}
|
}
|