From 30d8e227e8d823b6c38c3b9c90ac2df03b63befe Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期二, 25 二月 2025 16:41:22 +0800 Subject: [PATCH] 淘宝转链接口更新 --- fanli/src/main/java/com/yeshi/fanli/entity/dynamic/DynamicInfo.java | 508 ++++++++++++++++++++++++++++---------------------------- 1 files changed, 254 insertions(+), 254 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/dynamic/DynamicInfo.java b/fanli/src/main/java/com/yeshi/fanli/entity/dynamic/DynamicInfo.java index b941838..1717943 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/dynamic/DynamicInfo.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/dynamic/DynamicInfo.java @@ -1,254 +1,254 @@ -package com.yeshi.fanli.entity.dynamic; - -import java.io.Serializable; -import java.util.Date; -import java.util.List; - -import org.springframework.data.annotation.Id; -import org.springframework.data.mongodb.core.mapping.Document; -import org.springframework.data.mongodb.core.mapping.Field; - -import com.google.gson.annotations.Expose; -import com.yeshi.fanli.entity.bus.activity.ActivityUser; -import com.yeshi.fanli.entity.taobao.TaoBaoGoodsBrief; -import com.yeshi.fanli.entity.taobao.TaoBaoShop; -import com.yeshi.fanli.vo.msg.ClientTextStyleVO; - -@Document(collection = "dynamic_info") -public class DynamicInfo implements Serializable{ - - - /** - * - */ - private static final long serialVersionUID = 1L; - // 鍒嗕韩绫诲瀷 1:鍗曞浘鍒嗕韩 銆�2:4鍥惧垎浜�� 3:9鍥惧垎浜� 銆� 4:閭�璇峰垎浜� - public final static int SHARE_TYPE_ONE = 1; - public final static int SHARE_TYPE_FOUR = 2; - public final static int SHARE_TYPE_NINE = 3; - public final static int SHARE_TYPE_INVITE = 4; - - - // 鍥剧墖鏍煎紡锛� 涓�鎺掓樉绀猴細 0鏃犲浘 1涓�寮� 2涓ゅ紶 3寮� - public final static int SHOW_TYPE_ZERO = 0; - public final static int SHOW_TYPE_ONE = 1; - public final static int SHOW_TYPE_TWO = 2; - public final static int SHOW_TYPE_THREE = 3; - - - @Id - @Expose - @Field("id") - private String id; - // 鍙戝竷鐢ㄦ埛 - @Expose - @Field("user") - private ActivityUser user; - // 鍙戝竷鍐呭 - @Expose - @Field("title") - private List<ClientTextStyleVO> title; - // 鍥剧墖淇℃伅 - @Expose - @Field("imgs") - private List<GoodsPicture> imgs; - // 鍥剧墖鏍煎紡锛� 2-涓�鎺�2涓� 1-涓�鎺掍竴涓� 3-涓�鎺掍笁涓� - @Expose - @Field("showType") - private Integer showType; - // 鍒嗕韩娆℃暟 - @Expose - @Field("shareCount") - private Integer shareCount; - // 鍒嗕韩绫诲瀷 1鍗曞浘鍒嗕韩 銆�2 澶氬浘鍒嗕韩 - @Expose - @Field("shareType") - private Integer shareType; - // 棰勮鏀跺叆 - @Expose - @Field("desc") - private ClientTextStyleVO desc; - // 搴楅摵淇℃伅 - @Expose - @Field("shop") - private TaoBaoShop shop; - // 鍓嶇鍙戝竷鏃堕棿 - @Expose - @Field("createTime") - private Date createTime; - - // 鏇存柊鏃堕棿 - @Field("updateTime") - private Date updateTime; - - // 鎵�灞炵被鍨� 1鐑攢 2濂借揣 3濂藉簵 4閭�璇� - @Field("classId") - private Long classId; - // 鎵�灞炵被鍨� 1鐑攢 2濂借揣 3濂藉簵 4閭�璇� - @Field("subclassId") - private Long subclassId; - - // 鎵�灞炵被鍨� 1鐑攢 2濂借揣 3濂藉簵 4閭�璇� - @Field("daTaoKeId") - private Long daTaoKeId; - - - // 鎵�灞炵被鍨� 浜哄伐缂栬緫鐨勫姩鎬乮d - @Field("activityId") - private Long activityId; - - // 閭�璇风礌鏉恑d - @Field("inviteMaterialId") - private String inviteMaterialId; - - // 鍟嗗搧 鍒楄〃 - @Field("listGoodsBrief") - private List<TaoBaoGoodsBrief> listGoodsBrief; - - - - public String getInviteMaterialId() { - return inviteMaterialId; - } - - public void setInviteMaterialId(String inviteMaterialId) { - this.inviteMaterialId = inviteMaterialId; - } - - public DynamicInfo() { - } - - public DynamicInfo(String id) { - this.id = id; - } - - public String getId() { - return id; - } - - public void setId(String id) { - this.id = id; - } - - public ActivityUser getUser() { - return user; - } - - public void setUser(ActivityUser user) { - this.user = user; - } - - public List<ClientTextStyleVO> getTitle() { - return title; - } - - public void setTitle(List<ClientTextStyleVO> title) { - this.title = title; - } - - public List<GoodsPicture> getImgs() { - return imgs; - } - - public void setImgs(List<GoodsPicture> imgs) { - this.imgs = imgs; - } - - public Integer getShowType() { - return showType; - } - - public void setShowType(Integer showType) { - this.showType = showType; - } - - public Integer getShareCount() { - return shareCount; - } - - public void setShareCount(Integer shareCount) { - this.shareCount = shareCount; - } - - public ClientTextStyleVO getDesc() { - return desc; - } - - public void setDesc(ClientTextStyleVO desc) { - this.desc = desc; - } - - public TaoBaoShop getShop() { - return shop; - } - - public void setShop(TaoBaoShop shop) { - this.shop = shop; - } - - public Date getCreateTime() { - return createTime; - } - - public void setCreateTime(Date createTime) { - this.createTime = createTime; - } - - - public Integer getShareType() { - return shareType; - } - - public void setShareType(Integer shareType) { - this.shareType = shareType; - } - - public Long getClassId() { - return classId; - } - - public void setClassId(Long classId) { - this.classId = classId; - } - - public Long getSubclassId() { - return subclassId; - } - - public void setSubclassId(Long subclassId) { - this.subclassId = subclassId; - } - - public Long getDaTaoKeId() { - return daTaoKeId; - } - - public void setDaTaoKeId(Long daTaoKeId) { - this.daTaoKeId = daTaoKeId; - } - - public Long getActivityId() { - return activityId; - } - - public void setActivityId(Long activityId) { - this.activityId = activityId; - } - - public Date getUpdateTime() { - return updateTime; - } - - public void setUpdateTime(Date updateTime) { - this.updateTime = updateTime; - } - - public List<TaoBaoGoodsBrief> getListGoodsBrief() { - return listGoodsBrief; - } - - public void setListGoodsBrief(List<TaoBaoGoodsBrief> listGoodsBrief) { - this.listGoodsBrief = listGoodsBrief; - } - -} +package com.yeshi.fanli.entity.dynamic; + +import java.io.Serializable; +import java.util.Date; +import java.util.List; + +import org.springframework.data.annotation.Id; +import org.springframework.data.mongodb.core.mapping.Document; +import org.springframework.data.mongodb.core.mapping.Field; + +import com.google.gson.annotations.Expose; +import com.yeshi.fanli.entity.bus.activity.ActivityUser; +import com.yeshi.goods.facade.entity.taobao.TaoBaoGoodsBrief; +import com.yeshi.common.entity.taobao.TaoBaoShop; +import com.yeshi.common.vo.ClientTextStyleVO; + +@Document(collection = "dynamic_info") +public class DynamicInfo implements Serializable{ + + + /** + * + */ + private static final long serialVersionUID = 1L; + // 鍒嗕韩绫诲瀷 1:鍗曞浘鍒嗕韩 銆�2:4鍥惧垎浜�� 3:9鍥惧垎浜� 銆� 4:閭�璇峰垎浜� + public final static int SHARE_TYPE_ONE = 1; + public final static int SHARE_TYPE_FOUR = 2; + public final static int SHARE_TYPE_NINE = 3; + public final static int SHARE_TYPE_INVITE = 4; + + + // 鍥剧墖鏍煎紡锛� 涓�鎺掓樉绀猴細 0鏃犲浘 1涓�寮� 2涓ゅ紶 3寮� + public final static int SHOW_TYPE_ZERO = 0; + public final static int SHOW_TYPE_ONE = 1; + public final static int SHOW_TYPE_TWO = 2; + public final static int SHOW_TYPE_THREE = 3; + + + @Id + @Expose + @Field("id") + private String id; + // 鍙戝竷鐢ㄦ埛 + @Expose + @Field("user") + private ActivityUser user; + // 鍙戝竷鍐呭 + @Expose + @Field("title") + private List<ClientTextStyleVO> title; + // 鍥剧墖淇℃伅 + @Expose + @Field("imgs") + private List<GoodsPicture> imgs; + // 鍥剧墖鏍煎紡锛� 2-涓�鎺�2涓� 1-涓�鎺掍竴涓� 3-涓�鎺掍笁涓� + @Expose + @Field("showType") + private Integer showType; + // 鍒嗕韩娆℃暟 + @Expose + @Field("shareCount") + private Integer shareCount; + // 鍒嗕韩绫诲瀷 1鍗曞浘鍒嗕韩 銆�2 澶氬浘鍒嗕韩 + @Expose + @Field("shareType") + private Integer shareType; + // 棰勮鏀跺叆 + @Expose + @Field("desc") + private ClientTextStyleVO desc; + // 搴楅摵淇℃伅 + @Expose + @Field("shop") + private TaoBaoShop shop; + // 鍓嶇鍙戝竷鏃堕棿 + @Expose + @Field("createTime") + private Date createTime; + + // 鏇存柊鏃堕棿 + @Field("updateTime") + private Date updateTime; + + // 鎵�灞炵被鍨� 1鐑攢 2濂借揣 3濂藉簵 4閭�璇� + @Field("classId") + private Long classId; + // 鎵�灞炵被鍨� 1鐑攢 2濂借揣 3濂藉簵 4閭�璇� + @Field("subclassId") + private Long subclassId; + + // 鎵�灞炵被鍨� 1鐑攢 2濂借揣 3濂藉簵 4閭�璇� + @Field("daTaoKeId") + private Long daTaoKeId; + + + // 鎵�灞炵被鍨� 浜哄伐缂栬緫鐨勫姩鎬乮d + @Field("activityId") + private Long activityId; + + // 閭�璇风礌鏉恑d + @Field("inviteMaterialId") + private String inviteMaterialId; + + // 鍟嗗搧 鍒楄〃 + @Field("listGoodsBrief") + private List<TaoBaoGoodsBrief> listGoodsBrief; + + + + public String getInviteMaterialId() { + return inviteMaterialId; + } + + public void setInviteMaterialId(String inviteMaterialId) { + this.inviteMaterialId = inviteMaterialId; + } + + public DynamicInfo() { + } + + public DynamicInfo(String id) { + this.id = id; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public ActivityUser getUser() { + return user; + } + + public void setUser(ActivityUser user) { + this.user = user; + } + + public List<ClientTextStyleVO> getTitle() { + return title; + } + + public void setTitle(List<ClientTextStyleVO> title) { + this.title = title; + } + + public List<GoodsPicture> getImgs() { + return imgs; + } + + public void setImgs(List<GoodsPicture> imgs) { + this.imgs = imgs; + } + + public Integer getShowType() { + return showType; + } + + public void setShowType(Integer showType) { + this.showType = showType; + } + + public Integer getShareCount() { + return shareCount; + } + + public void setShareCount(Integer shareCount) { + this.shareCount = shareCount; + } + + public ClientTextStyleVO getDesc() { + return desc; + } + + public void setDesc(ClientTextStyleVO desc) { + this.desc = desc; + } + + public TaoBaoShop getShop() { + return shop; + } + + public void setShop(TaoBaoShop shop) { + this.shop = shop; + } + + public Date getCreateTime() { + return createTime; + } + + public void setCreateTime(Date createTime) { + this.createTime = createTime; + } + + + public Integer getShareType() { + return shareType; + } + + public void setShareType(Integer shareType) { + this.shareType = shareType; + } + + public Long getClassId() { + return classId; + } + + public void setClassId(Long classId) { + this.classId = classId; + } + + public Long getSubclassId() { + return subclassId; + } + + public void setSubclassId(Long subclassId) { + this.subclassId = subclassId; + } + + public Long getDaTaoKeId() { + return daTaoKeId; + } + + public void setDaTaoKeId(Long daTaoKeId) { + this.daTaoKeId = daTaoKeId; + } + + public Long getActivityId() { + return activityId; + } + + public void setActivityId(Long activityId) { + this.activityId = activityId; + } + + public Date getUpdateTime() { + return updateTime; + } + + public void setUpdateTime(Date updateTime) { + this.updateTime = updateTime; + } + + public List<TaoBaoGoodsBrief> getListGoodsBrief() { + return listGoodsBrief; + } + + public void setListGoodsBrief(List<TaoBaoGoodsBrief> listGoodsBrief) { + this.listGoodsBrief = listGoodsBrief; + } + +} -- Gitblit v1.8.0