| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111 |
- package com.cyksj.model.views;
- import com.cyksj.model.entity.HomeManagementConfig;
- import com.ejlchina.searcher.bean.DbField;
- import com.ejlchina.searcher.bean.DbIgnore;
- import com.ejlchina.searcher.bean.SearchBean;
- import lombok.Getter;
- import lombok.Setter;
- import java.math.BigDecimal;
- import java.util.Date;
- /*
- *项目名: netflix
- *文件名: HomeManagementConfigView
- *创建者: JavaZou
- *创建时间:2023/8/17 17:53
- */
- @Getter
- @Setter
- @SearchBean(tables = "(select * from home_management_config where deleted is true)hc" +
- " left join goods_don g on g.id = hc.goods_id")
- public class HomeManagementConfigView {
- @DbField("hc.id")
- private Long id;
- @DbField("hc.title")
- private String title;
- @DbField("hc.pic")
- private String pic;
- @DbField("hc.goods_id")
- private Long goodsId;
- @DbField("hc.url")
- private String url;
- @DbField("g.title")
- private String goodsTitle;
- @DbField("hc.type")
- private HomeManagementConfig.Type type;
- @DbField("hc.ad_type")
- private HomeManagementConfig.AdType adType;
- @DbField("hc.is_shop")
- private Boolean isShop;
- @DbField("hc.rg_type")
- private HomeManagementConfig.AdType rgType;
- @DbField("hc.rg_price")
- private BigDecimal rgPrice;
- @DbField("hc.rg_sub_title")
- private String rgSubTitle;
- @DbField("hc.tag")
- private String tag;
- @DbField("hc.sorted")
- private Integer sorted;
- @DbField("hc.status")
- private Boolean status;
- @DbIgnore
- private Integer click;
- @DbField("hc.pre_status")
- private Boolean preStatus;
- @DbField("hc.time")
- private Long time;
- @DbField("hc.end_time")
- private Long endTime;
- /**
- * 跳转类型 1.商品 2链接
- */
- @DbField("hc.jump_type")
- private Integer jumpType;
- /**
- * 跳转平台
- */
- @DbField("hc.plat_sku_ids")
- private String platSkuIds;
- /**
- * 跳转平台
- */
- @DbField("hc.jump_title")
- private String jumpTitle;
- /**
- * 跳转规格
- */
- @DbField("hc.jump_spec_val")
- private String jumpSpecVal;
- @DbField("hc.created_time")
- private Date createdTime;
- @DbField("hc.update_time")
- private Date updateTime;
- }
|