| | |
| | | |
| | | import java.util.Date; |
| | | |
| | | import org.yeshi.utils.mybatis.Column; |
| | | import org.yeshi.utils.mybatis.Table; |
| | | 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; |
| | | |
| | | @Table("`yeshi_ec_history_search`") |
| | | @Document(collection = "searchRecord") |
| | | 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; |
| | | } |
| | | @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 void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | public String getIpInfo() { |
| | | return ipInfo; |
| | | } |
| | | |
| | | public int getState() { |
| | | return state; |
| | | } |
| | | public void setIpInfo(String ipInfo) { |
| | | this.ipInfo = ipInfo; |
| | | } |
| | | |
| | | public void setState(int state) { |
| | | this.state = state; |
| | | } |
| | | public String getId() { |
| | | return id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | public void setId(String id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | public Integer getGoodsType() { |
| | | return goodsType; |
| | | } |
| | | |
| | | public String getBusinessId() { |
| | | return businessId; |
| | | } |
| | | public void setGoodsType(Integer goodsType) { |
| | | this.goodsType = goodsType; |
| | | } |
| | | |
| | | public void setBusinessId(String businessId) { |
| | | this.businessId = businessId; |
| | | } |
| | | public String getDevice() { |
| | | return device; |
| | | } |
| | | |
| | | public Date getCreatetime() { |
| | | return createtime; |
| | | } |
| | | public void setDevice(String device) { |
| | | this.device = device; |
| | | } |
| | | |
| | | public void setCreatetime(Date createtime) { |
| | | this.createtime = createtime; |
| | | } |
| | | 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; |
| | | } |
| | | } |