| | |
| | | package com.ruoyi.system.api.domain; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import com.ruoyi.common.core.annotation.Excel; |
| | | import com.ruoyi.common.core.annotation.Excel.ColumnType; |
| | | import com.ruoyi.common.core.web.domain.BaseEntity; |
| | | import java.util.Set; |
| | | import javax.validation.constraints.NotBlank; |
| | | import javax.validation.constraints.NotNull; |
| | | import javax.validation.constraints.Size; |
| | | |
| | | import com.baomidou.mybatisplus.annotation.TableField; |
| | | import org.apache.commons.lang3.builder.ToStringBuilder; |
| | | import org.apache.commons.lang3.builder.ToStringStyle; |
| | | import com.ruoyi.common.core.annotation.Excel; |
| | | import com.ruoyi.common.core.annotation.Excel.ColumnType; |
| | | import com.ruoyi.common.core.web.domain.BaseEntity; |
| | | |
| | | /** |
| | | * 角色表 sys_role |
| | |
| | | @TableField(exist = false) |
| | | private Set<String> permissions; |
| | | |
| | | /** 车辆数据权限: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 SysRole() |
| | | { |
| | |
| | | { |
| | | this.roleId = roleId; |
| | | } |
| | | |
| | | 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; |
| | | } |
| | | |
| | | |
| | | public Long getRoleId() |
| | | { |
| | | return roleId; |