e990d5ae522432aa0b824171d43177bd017d5cb9.svn-base 3.4 KB

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