|
|
|
|
@ -1,12 +1,13 @@
|
|
|
|
|
package com.ruoyi.common.core.domain.entity;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
import com.ruoyi.common.annotation.Excel;
|
|
|
|
|
import com.ruoyi.common.annotation.Excel.ColumnType;
|
|
|
|
|
import com.ruoyi.common.core.domain.BaseEntity;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringBuilder;
|
|
|
|
|
import org.apache.commons.lang3.builder.ToStringStyle;
|
|
|
|
|
|
|
|
|
|
import javax.validation.constraints.NotBlank;
|
|
|
|
|
import javax.validation.constraints.Size;
|
|
|
|
|
|
|
|
|
|
/**
|
|
|
|
|
* 角色表 sys_role
|
|
|
|
|
@ -59,6 +60,16 @@ public class SysRole extends BaseEntity
|
|
|
|
|
/** 部门组(数据权限) */
|
|
|
|
|
private Long[] deptIds;
|
|
|
|
|
|
|
|
|
|
private String tenantId;
|
|
|
|
|
|
|
|
|
|
public String getTenantId() {
|
|
|
|
|
return tenantId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public void setTenantId(String tenantId) {
|
|
|
|
|
this.tenantId = tenantId;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
public SysRole()
|
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|