| | |
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import javax.persistence.Column;
|
| | | import javax.persistence.Entity;
|
| | | import javax.persistence.GeneratedValue;
|
| | | import javax.persistence.GenerationType;
|
| | | import javax.persistence.Id;
|
| | | import javax.persistence.Table;
|
| | | 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;
|
| | |
|
| | |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Entity
|
| | | @Table(name = "yeshi_ec_taobao_goods")
|
| | | @org.yeshi.utils.mybatis.Table("yeshi_ec_taobao_goods")
|
| | | public class TaoBaoGoodsBrief implements Serializable {
|
| | | @Document(collection="taoBaoGoodsCache")
|
| | | public class TaoBaoGoodsBrief extends TaoBaoGoodsYuShouInfo implements Serializable {
|
| | |
|
| | |
|
| | | /**
|
| | |
| | | private static final long serialVersionUID = 1L;
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "id")
|
| | | @Id
|
| | | @GeneratedValue(strategy = GenerationType.AUTO)
|
| | | @Column(name = "id")
|
| | | @Expose
|
| | | private Long id;
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "rootCatId")
|
| | | private Integer rootCatId;// 0, 一级类目ID
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "eventCreatorId")
|
| | | private Integer eventCreatorId;// 0,
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "leafCatId")
|
| | | private Integer leafCatId;// 50011277, 子类目id
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "debugInfo")
|
| | | @Column(length = 50)
|
| | | private String debugInfo;// null,
|
| | |
|
| | | @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")
|
| | | @Column(length = 256)
|
| | | private String shopTitle;// 店铺名称
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "pictUrl")
|
| | | @Column(length = 256)
|
| | | @Expose
|
| | | private String pictUrl;// 主图链接
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "pictUrlWhite")
|
| | | @Column(length = 256)
|
| | | @Expose
|
| | | private String pictUrlWhite;// 白底色图片链接
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "title")
|
| | | @Column(length = 256)
|
| | | @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
|
| | | @Column(length = 256)
|
| | | private String couponLink;// 优惠券链�?
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "couponLinkTaoToken")
|
| | | @Expose
|
| | | @Column(length = 256)
|
| | | private String couponLinkTaoToken;//
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "couponActivityId")
|
| | | @Expose
|
| | | @Column(length = 128)
|
| | | 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;// 佣金比例 �?��100
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "nick")
|
| | | @Expose
|
| | | @Column(length = 50)
|
| | | private String nick;// "yoyo_808611", 店铺名称
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "includeDxjh")
|
| | | @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
|
| | | @Column(length = 50)
|
| | | private String tk3rdRate;// null,
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "auctionUrl")
|
| | | @Column(length = 128)
|
| | | @Expose
|
| | | private String auctionUrl;// 商品链接
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "rlRate")
|
| | | @Expose
|
| | | private Double rlRate;// 69.72,
|
| | |
| | | @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
|
| | | @Column(length = 50)
|
| | | private String eventRate;// null,
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "couponShortLink")
|
| | | @Expose
|
| | | @Column(length = 128)
|
| | | private String couponShortLink;// 优惠券短�?
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "couponInfo")
|
| | | @Column(length = 50)
|
| | | @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
|
| | | @Column(length = 20)
|
| | | private String couponEffectiveStartTime;// "2017-02-04",优惠券开始时�?
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "couponEffectiveEndTime")
|
| | | @Expose
|
| | | @Column(length = 20)
|
| | | private String couponEffectiveEndTime;// 优惠券结束时�?
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "hasUmpBonus")
|
| | | @Expose
|
| | | @Column(length = 10)
|
| | | private String hasUmpBonus;// null,
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "isBizActivity")
|
| | | @Expose
|
| | | @Column(length = 10)
|
| | | private String isBizActivity;// null,
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "umpBonus")
|
| | | @Expose
|
| | | @Column(length = 10)
|
| | | private String umpBonus;// null,
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "rootCategoryName")
|
| | | @Expose
|
| | | @Column(length = 30)
|
| | | private String rootCategoryName;// 一级分类名称
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "couponOriLink")
|
| | | @Expose
|
| | | @Column(length = 128)
|
| | | private String couponOriLink;// 优惠券原始链�?
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "userTypeName")
|
| | | @Expose
|
| | | @Column(length = 30)
|
| | | private String userTypeName;// 用户类型
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "tkMktStatus")
|
| | | @Expose
|
| | | @Column
|
| | | private String tkMktStatus; // 1:营销返利
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "totalSales")
|
| | | @Expose
|
| | | private Integer totalSales;// 229, 淘客30天月推广量
|
| | |
| | | @org.yeshi.utils.mybatis.Column(name = "createtime")
|
| | | @Expose
|
| | | @Type(type = "date")
|
| | | @Column
|
| | | private Date createtime;
|
| | | // 更新时间
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "updatetime")
|
| | | @Expose
|
| | | @Type(type = "date")
|
| | | @Column
|
| | | private Date updatetime;
|
| | |
|
| | | @org.yeshi.utils.mybatis.Column(name = "state")
|
| | | @Expose
|
| | | @Column
|
| | | private Integer state;// 0-正常 1-商品下架
|
| | |
|
| | | @Field
|
| | | @org.yeshi.utils.mybatis.Column(name = "material_lib_type")
|
| | | @Transient
|
| | | private Integer materialLibType;//物料库类型
|
| | | |
| | | private String description;//推荐语
|
| | | |
| | | @Transient
|
| | | private boolean shopCoupon;//是否为店铺券
|
| | |
|
| | |
|
| | |
|
| | | /* 新增字段 2018-7-16 ; 由于数据未从淘宝获取成功,暂不启用 */
|
| | |
|
| | |
|
| | |
|
| | | public boolean isShopCoupon() {
|
| | | return shopCoupon;
|
| | | }
|
| | |
|
| | | public void setShopCoupon(boolean shopCoupon) {
|
| | | this.shopCoupon = shopCoupon;
|
| | | }
|
| | |
|
| | | public Integer getMaterialLibType() {
|
| | | return materialLibType;
|
| | | }
|
| | |
| | | this.pictUrlWhite = pictUrlWhite;
|
| | | }
|
| | |
|
| | | public String getDescription() {
|
| | | return description;
|
| | | }
|
| | |
|
| | | public void setDescription(String description) {
|
| | | this.description = description;
|
| | | }
|
| | | |
| | | }
|