|  |  |  | 
|---|
|  |  |  | package com.doumee.dao.system.model; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | import com.doumee.core.constants.OperaType; | 
|---|
|  |  |  | import com.doumee.core.model.LoginUserModel; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModel; | 
|---|
|  |  |  | import io.swagger.annotations.ApiModelProperty; | 
|---|
|  |  |  | import com.baomidou.mybatisplus.annotation.IdType; | 
|---|
|  |  |  | 
|---|
|  |  |  | @Data | 
|---|
|  |  |  | @ApiModel("数据权限配置") | 
|---|
|  |  |  | @TableName("SYSTEM_DATA_PERMISSION") | 
|---|
|  |  |  | public class SystemDataPermission implements Serializable { | 
|---|
|  |  |  | public class SystemDataPermission extends LoginUserModel implements Serializable  { | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @TableId(type = IdType.AUTO) | 
|---|
|  |  |  | @ApiModelProperty(value = "主键", example = "1") | 
|---|
|  |  |  | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "权限类型(0全部,1自定义,2仅用户所属,3用户所属及其子数据)", example = "1") | 
|---|
|  |  |  | @NotNull(message = "权限类型不能为空", groups = {OperaType.Create.class, OperaType.Update.class}) | 
|---|
|  |  |  | private Short type; | 
|---|
|  |  |  | private Integer type; | 
|---|
|  |  |  |  | 
|---|
|  |  |  | @ApiModelProperty(value = "自定义数据") | 
|---|
|  |  |  | private String customData; | 
|---|