From 94e043b0d3fabe60dabce6df28b2ee6a1df7114e Mon Sep 17 00:00:00 2001 From: admin <weikou2014> Date: 星期一, 20 五月 2019 15:03:16 +0800 Subject: [PATCH] 首页限时秒杀接口更改 --- fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java | 47 +++++++++++++++++++++++++++++++++++++++-------- 1 files changed, 39 insertions(+), 8 deletions(-) diff --git a/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java b/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java index 89d06d5..c52880a 100644 --- a/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java +++ b/fanli/src/main/java/com/yeshi/fanli/entity/bus/clazz/GoodsClass.java @@ -1,12 +1,11 @@ package com.yeshi.fanli.entity.bus.clazz; import java.io.Serializable; -import java.util.List; import org.yeshi.utils.mybatis.Column; import org.yeshi.utils.mybatis.Table; -import com.yeshi.fanli.entity.system.BusinessSystem; +import com.google.gson.annotations.Expose; /** * 鍟嗗搧鍒嗙被 @@ -22,15 +21,19 @@ */ private static final long serialVersionUID = 1L; + @Expose @Column(name = "id") private Long id; + @Expose @Column(name = "name") private String name; + @Expose @Column(name = "picture") private String picture; + @Expose @Column(name = "url") private String url; @@ -52,14 +55,29 @@ @Column(name = "android_click") private Long androidClick; + // 鐘舵�� + @Column(name = "cs_state") + private Integer state; + @Column(name = "sex") + private Integer sex;//鐢峰コ 0-閮ㄥ垎鐢峰コ 1-鐢� 2-濂� + + + public Integer getSex() { + return sex; + } + + public void setSex(Integer sex) { + this.sex = sex; + } + // 鐐瑰嚮娆℃暟 private Long countClick = 0l; // 鍏宠仈鏍囩鏁伴噺 private int countlabel = 0; - // 绯荤粺鍏宠仈鍒楄〃 - private List<BusinessSystem> systemList; + private String taobaoCids; + public GoodsClass() { } @@ -67,6 +85,11 @@ public GoodsClass(Long id) { super(); this.id = id; + } + + public GoodsClass(Long id, String name) { + this.id = id; + this.name = name; } public GoodsClass(String name, String picture, Integer orderby, Long createtime) { @@ -173,12 +196,20 @@ this.countlabel = countlabel; } - public List<BusinessSystem> getSystemList() { - return systemList; + public Integer getState() { + return state; } - public void setSystemList(List<BusinessSystem> systemList) { - this.systemList = systemList; + public void setState(Integer state) { + this.state = state; + } + + public String getTaobaoCids() { + return taobaoCids; + } + + public void setTaobaoCids(String taobaoCids) { + this.taobaoCids = taobaoCids; } } -- Gitblit v1.8.0