HomeManagementConfigView.java 1.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  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. /**
  58. * 跳转类型 1.商品 2链接
  59. */
  60. @DbField("hc.jump_type")
  61. private Integer jumpType;
  62. /**
  63. * 跳转平台
  64. */
  65. @DbField("hc.plat_sku_ids")
  66. private String platSkuIds;
  67. @DbField("hc.created_time")
  68. private Date createdTime;
  69. }