From 9a78d406f8b821117c78a1bc717fe4b5813656b1 Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 06 八月 2019 09:57:51 +0800 Subject: [PATCH] 首页底部推荐,详情页猜你喜欢异常保护 --- fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoGoodsBrief.java | 46 ++++++++++++++++++++++++++++++++++++++++++++++ 1 files changed, 46 insertions(+), 0 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoGoodsBrief.java b/fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoGoodsBrief.java index 448a0cb..b04c75b 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoGoodsBrief.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/taobao/TaoBaoGoodsBrief.java @@ -12,6 +12,9 @@ import javax.persistence.Transient; import org.hibernate.annotations.Type; +import org.springframework.data.mongodb.core.index.Indexed; +import org.springframework.data.mongodb.core.mapping.Document; +import org.springframework.data.mongodb.core.mapping.Field; import com.google.gson.annotations.Expose; @@ -23,6 +26,7 @@ */ @Entity @org.yeshi.utils.mybatis.Table("yeshi_ec_taobao_goods") +@Document(collection="taoBaoGoodsCache") public class TaoBaoGoodsBrief implements Serializable { @@ -37,12 +41,14 @@ @Expose private Long id; + @Field @org.yeshi.utils.mybatis.Column(name = "rootCatId") private Integer rootCatId;// 0, 涓�绾х被鐩甀D @org.yeshi.utils.mybatis.Column(name = "eventCreatorId") private Integer eventCreatorId;// 0, + @Field @org.yeshi.utils.mybatis.Column(name = "leafCatId") private Integer leafCatId;// 50011277, 瀛愮被鐩甶d @@ -52,53 +58,68 @@ @org.yeshi.utils.mybatis.Column(name = "rootCatScore") private Integer rootCatScore;// 0, + @Field @org.yeshi.utils.mybatis.Column(name = "sellerId") private Long sellerId;// 鍗栧Id + @Field @Expose @org.yeshi.utils.mybatis.Column(name = "userType") private Integer userType;// 0, + @Field @Expose @org.yeshi.utils.mybatis.Column(name = "shopTitle") private String shopTitle;// 搴楅摵鍚嶇О + @Field @org.yeshi.utils.mybatis.Column(name = "pictUrl") @Expose private String pictUrl;// 涓诲浘閾炬帴 + @Field @org.yeshi.utils.mybatis.Column(name = "pictUrlWhite") @Expose private String pictUrlWhite;// 鐧藉簳鑹插浘鐗囬摼鎺� + @Field @org.yeshi.utils.mybatis.Column(name = "title") @Expose private String title;// 鍟嗗搧鏍囬 + + @Field + @Indexed @org.yeshi.utils.mybatis.Column(name = "auctionId") @Expose private Long auctionId;// 鍟嗗搧ID + @Field @org.yeshi.utils.mybatis.Column(name = "couponLink") @Expose private String couponLink;// 浼樻儬鍒搁摼锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponLinkTaoToken") @Expose private String couponLinkTaoToken;// + @Field @org.yeshi.utils.mybatis.Column(name = "couponActivityId") @Expose private String couponActivityId;// + @Field @org.yeshi.utils.mybatis.Column(name = "biz30day") @Expose private Integer biz30day;// 鏈堥攢閲� + @Field @org.yeshi.utils.mybatis.Column(name = "tkRate") @Expose private BigDecimal tkRate;// 浣i噾姣斾緥 锟�?锟斤拷100 + @Field @org.yeshi.utils.mybatis.Column(name = "nick") @Expose private String nick;// "yoyo_808611", 搴楅摵鍚嶇О @@ -107,38 +128,47 @@ @Expose private Integer includeDxjh;// 1锛氬畾鍚戣鍒� + @Field @org.yeshi.utils.mybatis.Column(name = "reservePrice") @Expose private BigDecimal reservePrice;// 588, + @Field @org.yeshi.utils.mybatis.Column(name = "tkCommFee") @Expose private BigDecimal tkCommFee;// 32.04, + @Field @org.yeshi.utils.mybatis.Column(name = "totalFee") @Expose private BigDecimal totalFee;// 4814.43, + @Field @org.yeshi.utils.mybatis.Column(name = "totalNum") @Expose private Integer totalNum;// 229, 搴撳瓨鏁伴噺 + @Field @org.yeshi.utils.mybatis.Column(name = "zkPrice") @Expose private BigDecimal zkPrice;// 鏃犵嚎浠锋牸,鍦ㄥ敭浠� + @Field @org.yeshi.utils.mybatis.Column(name = "dayLeft") @Expose private Integer dayLeft;// -17228, + @Field @org.yeshi.utils.mybatis.Column(name = "tk3rdRate") @Expose private String tk3rdRate;// null, + @Field @org.yeshi.utils.mybatis.Column(name = "auctionUrl") @Expose private String auctionUrl;// 鍟嗗搧閾炬帴 + @Field @org.yeshi.utils.mybatis.Column(name = "rlRate") @Expose private Double rlRate;// 69.72, @@ -155,38 +185,47 @@ @Expose private Long sameItemPid;// "-232381821", + @Field @org.yeshi.utils.mybatis.Column(name = "couponTotalCount") @Expose private Integer couponTotalCount;// 浼樻儬鍒革拷?锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponLeftCount") @Expose private Integer couponLeftCount;// 浼樻儬鍒稿墿浣欐暟锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponAmount") @Expose private BigDecimal couponAmount;// 浼樻儬閲戦 + @Field @org.yeshi.utils.mybatis.Column(name = "eventRate") @Expose private String eventRate;// null, + @Field @org.yeshi.utils.mybatis.Column(name = "couponShortLink") @Expose private String couponShortLink;// 浼樻儬鍒哥煭锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponInfo") @Expose private String couponInfo;// 浼樻儬鍒镐俊锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponStartFee") @Expose private BigDecimal couponStartFee;// 浼樻儬鍒歌捣濮嬩紭锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponEffectiveStartTime") @Expose private String couponEffectiveStartTime;// "2017-02-04",浼樻儬鍒稿紑濮嬫椂锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "couponEffectiveEndTime") @Expose private String couponEffectiveEndTime;// 浼樻儬鍒哥粨鏉熸椂锟�? @@ -203,22 +242,27 @@ @Expose private String umpBonus;// null, + @Field @org.yeshi.utils.mybatis.Column(name = "rootCategoryName") @Expose private String rootCategoryName;// 涓�绾у垎绫诲悕绉� + @Field @org.yeshi.utils.mybatis.Column(name = "couponOriLink") @Expose private String couponOriLink;// 浼樻儬鍒稿師濮嬮摼锟�? + @Field @org.yeshi.utils.mybatis.Column(name = "userTypeName") @Expose private String userTypeName;// 鐢ㄦ埛绫诲瀷 + @Field @org.yeshi.utils.mybatis.Column(name = "tkMktStatus") @Expose private String tkMktStatus; // 1锛氳惀閿�杩斿埄 + @Field @org.yeshi.utils.mybatis.Column(name = "totalSales") @Expose private Integer totalSales;// 229, 娣樺30澶╂湀鎺ㄥ箍閲� @@ -230,6 +274,7 @@ private Date createtime; // 鏇存柊鏃堕棿 + @Field @org.yeshi.utils.mybatis.Column(name = "updatetime") @Expose @Type(type = "date") @@ -239,6 +284,7 @@ @Expose private Integer state;// 0-姝e父 1-鍟嗗搧涓嬫灦 + @Field @org.yeshi.utils.mybatis.Column(name = "material_lib_type") @Transient private Integer materialLibType;//鐗╂枡搴撶被鍨� -- Gitblit v1.8.0