HomeManagementConfigView.java 2.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111
  1. package com.cyksj.model.views;
  2. import com.cyksj.model.entity.HomeManagementConfig;
  3. import com.ejlchina.searcher.bean.DbField;
  4. import com.ejlchina.searcher.bean.DbIgnore;
  5. import com.ejlchina.searcher.bean.SearchBean;
  6. import lombok.Getter;
  7. import lombok.Setter;
  8. import java.math.BigDecimal;
  9. import java.util.Date;
  10. /*
  11. *项目名: netflix
  12. *文件名: HomeManagementConfigView
  13. *创建者: JavaZou
  14. *创建时间:2023/8/17 17:53
  15. */
  16. @Getter
  17. @Setter
  18. @SearchBean(tables = "(select * from home_management_config where deleted is true)hc" +
  19. " left join goods_don g on g.id = hc.goods_id")
  20. public class HomeManagementConfigView {
  21. @DbField("hc.id")
  22. private Long id;
  23. @DbField("hc.title")
  24. private String title;
  25. @DbField("hc.pic")
  26. private String pic;
  27. @DbField("hc.goods_id")
  28. private Long goodsId;
  29. @DbField("hc.url")
  30. private String url;
  31. @DbField("g.title")
  32. private String goodsTitle;
  33. @DbField("hc.type")
  34. private HomeManagementConfig.Type type;
  35. @DbField("hc.ad_type")
  36. private HomeManagementConfig.AdType adType;
  37. @DbField("hc.is_shop")
  38. private Boolean isShop;
  39. @DbField("hc.rg_type")
  40. private HomeManagementConfig.AdType rgType;
  41. @DbField("hc.rg_price")
  42. private BigDecimal rgPrice;
  43. @DbField("hc.rg_sub_title")
  44. private String rgSubTitle;
  45. @DbField("hc.tag")
  46. private String tag;
  47. @DbField("hc.sorted")
  48. private Integer sorted;
  49. @DbField("hc.status")
  50. private Boolean status;
  51. @DbIgnore
  52. private Integer click;
  53. @DbField("hc.pre_status")
  54. private Boolean preStatus;
  55. @DbField("hc.time")
  56. private Long time;
  57. @DbField("hc.end_time")
  58. private Long endTime;
  59. /**
  60. * 跳转类型 1.商品 2链接
  61. */
  62. @DbField("hc.jump_type")
  63. private Integer jumpType;
  64. /**
  65. * 跳转平台
  66. */
  67. @DbField("hc.plat_sku_ids")
  68. private String platSkuIds;
  69. /**
  70. * 跳转平台
  71. */
  72. @DbField("hc.jump_title")
  73. private String jumpTitle;
  74. /**
  75. * 跳转规格
  76. */
  77. @DbField("hc.jump_spec_val")
  78. private String jumpSpecVal;
  79. @DbField("hc.created_time")
  80. private Date createdTime;
  81. @DbField("hc.update_time")
  82. private Date updateTime;
  83. }