OfficialMenu.java 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. package com.zhongzheng.entity;
  2. import com.baomidou.mybatisplus.annotation.IdType;
  3. import com.baomidou.mybatisplus.annotation.TableId;
  4. import com.baomidou.mybatisplus.annotation.TableName;
  5. import lombok.Data;
  6. import lombok.NoArgsConstructor;
  7. import lombok.experimental.Accessors;
  8. import java.io.Serializable;
  9. @Data
  10. @NoArgsConstructor
  11. @Accessors(chain = true)
  12. @TableName("official_menu")
  13. public class OfficialMenu implements Serializable {
  14. /**
  15. *
  16. */
  17. @TableId(value = "menu_id",type = IdType.AUTO)
  18. private Long menuId;
  19. /**
  20. * 父级ID(为0时是一级)
  21. */
  22. private Long parentId;
  23. /**
  24. * 菜单名称
  25. */
  26. private String name;
  27. /**
  28. * 类型:1属于新闻大分类,可用后台吴加分类,2小类,首面不分类为0,配置不维护
  29. */
  30. private Integer type;
  31. /**
  32. * 用途 1文章 2列表
  33. */
  34. private Integer showType;
  35. /**
  36. * 标识: 1有 0没有
  37. */
  38. private Integer sign;
  39. /**
  40. * 排序字段
  41. */
  42. private Integer sortNumber;
  43. /**
  44. * 外链跳转地址
  45. */
  46. private String webUrl;
  47. /**
  48. * 菜单选中值
  49. */
  50. private String curValue;
  51. /**
  52. * 状态(1正常 0停用)
  53. */
  54. private Integer status;
  55. /**
  56. * 创建时间
  57. */
  58. private Long createTime;
  59. /**
  60. * 更新时间
  61. */
  62. private Long updateTime;
  63. }