| | |
| | | package com.yeshi.fanli.entity.taobao.dataoke;
|
| | |
|
| | | import java.io.Serializable;
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | |
|
| | | import org.springframework.data.annotation.Id;
|
| | | import org.springframework.data.mongodb.core.index.Indexed;
|
| | | import org.springframework.data.mongodb.core.mapping.Document;
|
| | | import org.springframework.data.mongodb.core.mapping.Field;
|
| | |
|
| | | @Document(collection = "daTaoKeGoods")
|
| | | public class DaTaoKeDetailV2 {
|
| | | public class DaTaoKeDetailV2 implements Serializable {
|
| | | /**
|
| | | * |
| | | */
|
| | | private static final long serialVersionUID = 1L;
|
| | | @Id
|
| | | private Long id;// 商品ID
|
| | | @Indexed
|
| | | @Field
|
| | | private Long goodsId;// 淘宝商品ID
|
| | | @Field
|
| | |
| | | private BigDecimal couponPrice;// 优惠券金额
|
| | | @Field
|
| | | private String couponConditions;// 优惠券使用条件
|
| | | @Deprecated
|
| | | @Field
|
| | | private String couponId;// 券ID
|
| | | @Field
|
| | | private Integer activityType;// 活动类型,1-无活动,2-淘抢购,3-聚划算
|
| | | @Field
|
| | | private String createTime;// 商品创建时间
|
| | | private Date createTime;// 商品创建时间
|
| | | @Field
|
| | | private String mainPic;// 商品主图链接
|
| | | @Field
|
| | |
| | | private Integer tbcid;// 商品在淘宝的二级分类id ,非大淘客的二级分类
|
| | | @Field
|
| | | private Date updateTime;
|
| | | //额外字段维护
|
| | | // 额外字段维护
|
| | | @Field
|
| | | private Integer commission;// 佣金金额,单位为分
|
| | |
|
| | |
| | | this.activityType = activityType;
|
| | | }
|
| | |
|
| | | public String getCreateTime() {
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(String createTime) {
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|