RoleModel.java 1.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950
  1. package jnpf.permission.model.role;
  2. import io.swagger.v3.oas.annotations.media.Schema;
  3. import jnpf.util.treeutil.SumTree;
  4. import lombok.Data;
  5. import java.util.Date;
  6. import java.util.List;
  7. /**
  8. *
  9. * @author JNPF开发平台组
  10. * @version V3.1.0
  11. * @copyright 引迈信息技术有限公司
  12. * @date 2021/3/12 15:31
  13. */
  14. @Data
  15. public class RoleModel extends SumTree<RoleModel> {
  16. @Schema(description = "名称")
  17. private String fullName;
  18. @Schema(description = "编码")
  19. private String enCode;
  20. @Schema(description = "角色类型")
  21. private String type;
  22. @Schema(description = "备注")
  23. private String description;
  24. @Schema(description = "状态")
  25. private Integer enabledMark;
  26. @Schema(description = "创建时间")
  27. private Date creatorTime;
  28. @Schema(description = "排序")
  29. private Long sortCode;
  30. @Schema(description = "数量")
  31. private Long num;
  32. @Schema(description = "前端解析唯一标识")
  33. private String onlyId;
  34. @Schema(description = "图标")
  35. private String icon;
  36. private String organize;
  37. @Schema(description = "组织id树")
  38. private List<String> organizeIds;
  39. @Schema(description = "岗位约束(0-关闭,1启用)")
  40. private Integer isCondition;
  41. @Schema(description = "约束内容")
  42. private String conditionJson;
  43. }