| | |
| | | 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; |
| | | } |
| | | } |