From aa69e4b58e49c4531843b1aa36f94a4a964127bf Mon Sep 17 00:00:00 2001 From: WongBin Date: Sat, 17 Jul 2021 22:56:52 +0800 Subject: [PATCH] Create AccessRoleDto.java --- .../controller/dto/AccessRoleDto.java | 46 +++++++++++++++++++ 1 file changed, 46 insertions(+) create mode 100755 report-core/src/main/java/com/anjiplus/template/gaea/business/modules/accessrole/controller/dto/AccessRoleDto.java diff --git a/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/accessrole/controller/dto/AccessRoleDto.java b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/accessrole/controller/dto/AccessRoleDto.java new file mode 100755 index 00000000..c7e10620 --- /dev/null +++ b/report-core/src/main/java/com/anjiplus/template/gaea/business/modules/accessrole/controller/dto/AccessRoleDto.java @@ -0,0 +1,46 @@ + +package com.anjiplus.template.gaea.business.modules.accessrole.controller.dto; + +import java.io.Serializable; +import java.util.List; +import javax.validation.constraints.NotEmpty; +import javax.validation.constraints.NotNull; + +import com.anji.plus.gaea.annotation.Query; +import com.anji.plus.gaea.constant.QueryEnum; +import com.anji.plus.gaea.curd.dto.GaeaBaseDTO; +import io.swagger.annotations.ApiModelProperty; +import com.anji.plus.gaea.annotation.Formatter; +import lombok.Data; + +/** +* +* @description 角色管理 dto +* @author 木子李·De +* @date 2019-02-17 08:50:14.136 +**/ +@Data +public class AccessRoleDto extends GaeaBaseDTO implements Serializable { + + /** 角色编码 */ + @ApiModelProperty(value = "角色编码") + @NotEmpty(message = "6002") + private String roleCode; + + /** 角色名称 */ + @ApiModelProperty(value = "角色名称") + @NotEmpty(message = "6002") + private String roleName; + + /** 0--未删除 1--已删除 DIC_NAME=DEL_FLAG */ + @ApiModelProperty(value = " 0--未删除 1--已删除 DIC_NAME=DEL_FLAG") + private Integer deleteFlag; + + /** 0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG */ + @ApiModelProperty(value = "0--已禁用 1--已启用 DIC_NAME=ENABLE_FLAG") + @NotNull(message = "6002") + private Integer enableFlag; + + /** 角色保存的权限 */ + private List authorityList; +} \ No newline at end of file