| | |
| | | package com.ruoyi.project.system.domain;
|
| | |
|
| | | import java.util.Set;
|
| | | import com.baomidou.mybatisplus.annotation.FieldFill;
|
| | | import com.baomidou.mybatisplus.annotation.TableField;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType;
|
| | | import com.ruoyi.framework.web.domain.BaseEntity;
|
| | | import jakarta.validation.constraints.NotBlank;
|
| | | import jakarta.validation.constraints.NotNull;
|
| | | import jakarta.validation.constraints.Size;
|
| | | import org.apache.commons.lang3.builder.ToStringBuilder;
|
| | | import org.apache.commons.lang3.builder.ToStringStyle;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel;
|
| | | import com.ruoyi.framework.aspectj.lang.annotation.Excel.ColumnType;
|
| | | import com.ruoyi.framework.web.domain.BaseEntity;
|
| | |
|
| | | import java.util.Set;
|
| | |
|
| | | /**
|
| | | * 角色表 sys_role
|
| | | * |
| | | *
|
| | | * @author ruoyi
|
| | | */
|
| | | public class SysRole extends BaseEntity
|
| | |
| | | /** 角色菜单权限 */
|
| | | private Set<String> permissions;
|
| | |
|
| | | @TableField(fill = FieldFill.INSERT)
|
| | | private Long deptId;
|
| | | public SysRole()
|
| | | {
|
| | |
|
| | |
| | | this.status = status;
|
| | | }
|
| | |
|
| | | public Long getDeptId()
|
| | | {
|
| | | return deptId;
|
| | | }
|
| | |
|
| | | public void setDeptId(Long deptId)
|
| | | {
|
| | | this.deptId = deptId;
|
| | | }
|
| | |
|
| | | public String getDelFlag()
|
| | | {
|
| | | return delFlag;
|