| | |
| | | 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
|
| | |
| | | @Field
|
| | | private String couponLink;// 领券链接
|
| | | @Field
|
| | | private Date couponEndTime;// 优惠券结束时间
|
| | | private String couponEndTime;// 优惠券结束时间
|
| | | @Field
|
| | | private Date couponStartTime;// 优惠券开始时间
|
| | | private String couponStartTime;// 优惠券开始时间
|
| | | @Field
|
| | | private BigDecimal couponPrice;// 优惠券金额
|
| | | @Field
|
| | | private String couponConditions;// 优惠券使用条件
|
| | | @Deprecated
|
| | | @Field
|
| | | private String couponId;// 券ID
|
| | | @Field
|
| | |
| | | private Integer tbcid;// 商品在淘宝的二级分类id ,非大淘客的二级分类
|
| | | @Field
|
| | | private Date updateTime;
|
| | | // 额外字段维护
|
| | | @Field
|
| | | private Integer commission;// 佣金金额,单位为分
|
| | |
|
| | | public Integer getCommission() {
|
| | | return commission;
|
| | | }
|
| | |
|
| | | public void setCommission(Integer commission) {
|
| | | this.commission = commission;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | |
| | | this.couponLink = couponLink;
|
| | | }
|
| | |
|
| | | public Date getCouponEndTime() {
|
| | | public String getCouponEndTime() {
|
| | | return couponEndTime;
|
| | | }
|
| | |
|
| | | public void setCouponEndTime(Date couponEndTime) {
|
| | | public void setCouponEndTime(String couponEndTime) {
|
| | | this.couponEndTime = couponEndTime;
|
| | | }
|
| | |
|
| | | public Date getCouponStartTime() {
|
| | | public String getCouponStartTime() {
|
| | | return couponStartTime;
|
| | | }
|
| | |
|
| | | public void setCouponStartTime(Date couponStartTime) {
|
| | | public void setCouponStartTime(String couponStartTime) {
|
| | | this.couponStartTime = couponStartTime;
|
| | | }
|
| | |
|