4eba610b0b884638fb4d88fb0f160e3907e69191.svn-base 3.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  1. package cn.com.goldenwater.dcproj.param;
  2. import cn.com.goldenwater.core.param.PageParam;
  3. import io.swagger.annotations.ApiModelProperty;
  4. import io.swagger.annotations.ApiParam;
  5. import java.io.Serializable;
  6. /**
  7. * MenuParam
  8. *
  9. * @author lune
  10. * @date 2018-2-13
  11. */
  12. public class MenuParam extends PageParam implements Serializable {
  13. //font awesome名称或图片URL
  14. @ApiModelProperty(value = "font awesome名称或图片URL(长度:256,可为空:Y)", notes = "font awesome名称或图片URL")
  15. private String icon;
  16. //ID
  17. @ApiModelProperty(value = "ID(长度:64,可为空:N)", notes = "ID", required = true)
  18. private String id;
  19. //权限ID
  20. @ApiModelProperty(value = "权限ID(长度:64,可为空:Y)", notes = "权限ID")
  21. private String privId;
  22. //菜单名称
  23. @ApiModelProperty(value = "菜单名称(长度:256,可为空:N)", notes = "菜单名称", required = true)
  24. private String menuName;
  25. //几级菜单,1,2,3等
  26. @ApiModelProperty(value = "几级菜单,1,2,3等(精度:5,可为空:N,默认值:0 )", notes = "几级菜单,1,2,3等", required = true)
  27. private Long sortLevel;
  28. //排序字段
  29. @ApiModelProperty(value = "排序字段(精度:5,可为空:Y)", notes = "排序字段")
  30. private Long sequence;
  31. //父菜单ID
  32. @ApiModelProperty(value = "父菜单ID(长度:64,可为空:Y)", notes = "父菜单ID")
  33. private String parentId;
  34. //超链接
  35. @ApiModelProperty(value = "超链接(长度:1,024,可为空:Y)", notes = "超链接")
  36. private String href;
  37. @ApiModelProperty(value = "对应权限url")
  38. private String privUri;
  39. @ApiModelProperty(value = "对应权限叶子节点标识")
  40. private boolean flagLeaf;
  41. @ApiModelProperty("0,其他,1代表督查,2代表稽察,无值标识所有菜单")
  42. private String ownApp;
  43. public String getOwnApp() {
  44. return ownApp;
  45. }
  46. public void setOwnApp(String ownApp) {
  47. this.ownApp = ownApp;
  48. }
  49. public Long getSequence() {
  50. return sequence;
  51. }
  52. public String getPrivUri() {
  53. return privUri;
  54. }
  55. public void setPrivUri(String privUri) {
  56. this.privUri = privUri;
  57. }
  58. public boolean isFlagLeaf() {
  59. return flagLeaf;
  60. }
  61. public void setFlagLeaf(boolean flagLeaf) {
  62. this.flagLeaf = flagLeaf;
  63. }
  64. public void setSequence(Long sequence) {
  65. this.sequence = sequence;
  66. }
  67. public String getId() {
  68. return id;
  69. }
  70. public void setId(String id) {
  71. this.id = id;
  72. }
  73. public String getPrivId() {
  74. return privId;
  75. }
  76. public void setPrivId(String privId) {
  77. this.privId = privId;
  78. }
  79. public String getParentId() {
  80. return parentId;
  81. }
  82. public void setParentId(String parentId) {
  83. this.parentId = parentId;
  84. }
  85. public String getMenuName() {
  86. return menuName;
  87. }
  88. public void setMenuName(String menuName) {
  89. this.menuName = menuName;
  90. }
  91. public Long getSortLevel() {
  92. return sortLevel;
  93. }
  94. public void setSortLevel(Long sortLevel) {
  95. this.sortLevel = sortLevel;
  96. }
  97. public String getHref() {
  98. return href;
  99. }
  100. public void setHref(String href) {
  101. this.href = href;
  102. }
  103. public String getIcon() {
  104. return icon;
  105. }
  106. public void setIcon(String icon) {
  107. this.icon = icon;
  108. }
  109. }