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/bus/search/HistorySearch.java | 152 +++++++++++++++++++++++++++++--------------------- 1 files changed, 88 insertions(+), 64 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/search/HistorySearch.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/search/HistorySearch.java index d2d9041..07569a9 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/search/HistorySearch.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/search/HistorySearch.java @@ -1,64 +1,88 @@ -package com.yeshi.fanli.entity.bus.search; - -import java.util.Date; - -import org.yeshi.utils.mybatis.Column; -import org.yeshi.utils.mybatis.Table; - -import com.google.gson.annotations.Expose; - -@Table("`yeshi_ec_history_search`") -public class HistorySearch { - @Column(name="id") - private Long id; - @Column(name="name") - @Expose - private String name; - @Column(name="businessId") - private String businessId; - @Column(name="state") - private int state; - @Column(name="createtime") - private Date createtime; - - public Long getId() { - return id; - } - - public void setId(Long id) { - this.id = id; - } - - public int getState() { - return state; - } - - public void setState(int state) { - this.state = state; - } - - public String getName() { - return name; - } - - public void setName(String name) { - this.name = name; - } - - public String getBusinessId() { - return businessId; - } - - public void setBusinessId(String businessId) { - this.businessId = businessId; - } - - public Date getCreatetime() { - return createtime; - } - - public void setCreatetime(Date createtime) { - this.createtime = createtime; - } - -} +package com.yeshi.fanli.entity.bus.search; + +import java.util.Date; + +import com.yeshi.fanli.entity.SystemEnum; +import org.springframework.data.annotation.Id; +import org.springframework.data.mongodb.core.mapping.Document; +import org.yeshi.utils.generater.mybatis.Column; +import org.yeshi.utils.generater.mybatis.Table; + +import com.google.gson.annotations.Expose; + +@Document(collection = "searchRecord") +public class HistorySearch { + @Id + private String id; + private String device; + private Integer goodsType; + private Long uid; + private SystemEnum system; + private String key; + private String ipInfo; + private Date createtime; + + public String getIpInfo() { + return ipInfo; + } + + public void setIpInfo(String ipInfo) { + this.ipInfo = ipInfo; + } + + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public Integer getGoodsType() { + return goodsType; + } + + public void setGoodsType(Integer goodsType) { + this.goodsType = goodsType; + } + + public String getDevice() { + return device; + } + + public void setDevice(String device) { + this.device = device; + } + + public Long getUid() { + return uid; + } + + public void setUid(Long uid) { + this.uid = uid; + } + + public SystemEnum getSystem() { + return system; + } + + public void setSystem(SystemEnum system) { + this.system = system; + } + + public String getKey() { + return key; + } + + public void setKey(String key) { + this.key = key; + } + + public Date getCreatetime() { + return createtime; + } + + public void setCreatetime(Date createtime) { + this.createtime = createtime; + } +} -- Gitblit v1.8.0