| | |
| | | package com.yeshi.fanli.entity.bus.clazz;
|
| | |
|
| | | import java.io.Serializable;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | import com.google.gson.annotations.Expose;
|
| | |
|
| | | /**
|
| | | * 商品分类
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_class")
|
| | | public class GoodsClass implements Serializable {
|
| | |
|
| | | /**
|
| | | * |
| | | */
|
| | | 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;
|
| | | |
| | | @Column(name = "key")
|
| | | private String key;
|
| | | |
| | | @Column(name = "search_param")
|
| | | private String searchParam;
|
| | |
|
| | | @Column(name = "orderby")
|
| | | private Integer orderby;
|
| | | |
| | | @Column(name = "createtime")
|
| | | private Long createtime;
|
| | | |
| | | @Column(name = "ios_click")
|
| | | private Long iosClick;
|
| | | |
| | | @Column(name = "android_click")
|
| | | private Long androidClick;
|
| | | |
| | | // 状态
|
| | | @Column(name = "cs_state")
|
| | | private Integer state;
|
| | | |
| | | |
| | | // 点击次数
|
| | | private Long countClick = 0l; |
| | | // 关联标签数量
|
| | | private int countlabel = 0; |
| | |
|
| | | |
| | | public GoodsClass() {
|
| | | }
|
| | |
|
| | | 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) {
|
| | | super();
|
| | | this.name = name;
|
| | | this.picture = picture;
|
| | | this.orderby = orderby;
|
| | | this.createtime = createtime;
|
| | | }
|
| | |
|
| | | public Long getId() {
|
| | | return id;
|
| | | }
|
| | |
|
| | | public void setId(Long id) {
|
| | | this.id = id;
|
| | | }
|
| | |
|
| | | public String getName() {
|
| | | return name;
|
| | | }
|
| | |
|
| | | public void setName(String name) {
|
| | | this.name = name;
|
| | | }
|
| | |
|
| | | public String getPicture() {
|
| | | return picture;
|
| | | }
|
| | |
|
| | | public void setPicture(String picture) {
|
| | | this.picture = picture;
|
| | | }
|
| | |
|
| | | public String getUrl() {
|
| | | return url;
|
| | | }
|
| | |
|
| | | public void setUrl(String url) {
|
| | | this.url = url;
|
| | | }
|
| | |
|
| | | public String getKey() {
|
| | | return key;
|
| | | }
|
| | |
|
| | | public void setKey(String key) {
|
| | | this.key = key;
|
| | | }
|
| | |
|
| | | public String getSearchParam() {
|
| | | return searchParam;
|
| | | }
|
| | |
|
| | | public void setSearchParam(String searchParam) {
|
| | | this.searchParam = searchParam;
|
| | | }
|
| | |
|
| | | public Integer getOrderby() {
|
| | | return orderby;
|
| | | }
|
| | |
|
| | | public void setOrderby(Integer orderby) {
|
| | | this.orderby = orderby;
|
| | | }
|
| | |
|
| | | public Long getCreatetime() {
|
| | | return createtime;
|
| | | }
|
| | |
|
| | | public void setCreatetime(Long createtime) {
|
| | | this.createtime = createtime;
|
| | | }
|
| | |
|
| | | public Long getIosClick() {
|
| | | return iosClick;
|
| | | }
|
| | |
|
| | | public void setIosClick(Long iosClick) {
|
| | | this.iosClick = iosClick;
|
| | | }
|
| | |
|
| | | public Long getAndroidClick() {
|
| | | return androidClick;
|
| | | }
|
| | |
|
| | | public void setAndroidClick(Long androidClick) {
|
| | | this.androidClick = androidClick;
|
| | | }
|
| | |
|
| | | public Long getCountClick() {
|
| | | return countClick;
|
| | | }
|
| | |
|
| | | public void setCountClick(Long countClick) {
|
| | | this.countClick = countClick;
|
| | | }
|
| | |
|
| | | public int getCountlabel() {
|
| | | return countlabel;
|
| | | }
|
| | |
|
| | | public void setCountlabel(int countlabel) {
|
| | | this.countlabel = countlabel;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | | |
| | | |
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.bus.clazz; |
| | | |
| | | import java.io.Serializable; |
| | | import java.util.List; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | import com.google.gson.annotations.Expose; |
| | | |
| | | /** |
| | | * 商品分类 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_class") |
| | | public class GoodsClass implements Serializable { |
| | | |
| | | /** |
| | | * |
| | | */ |
| | | private static final long serialVersionUID = 1L; |
| | | |
| | | public final static int SEX_DEFAULT = 0; // 通用 |
| | | public final static int SEX_WOMAN = 1; // 女 |
| | | public final static int SEX_MAN = 2; // 男 |
| | | public final static int SEX_DEFAULT_WOMAN = 10; // 女+ 通用 |
| | | public final static int SEX_DEFAULT_MAN = 20; // 男+ 通用 |
| | | public final static int SEX_MAN_WOMAN = 12; // 男+ 女 |
| | | |
| | | public final static int SEX_ALL = 120; // 男+ 女 + 通用 |
| | | |
| | | @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; |
| | | |
| | | @Column(name = "key") |
| | | private String key; |
| | | |
| | | @Column(name = "search_param") |
| | | private String searchParam; |
| | | |
| | | @Column(name = "orderby") |
| | | private Integer orderby; |
| | | |
| | | @Column(name = "createtime") |
| | | private Long createtime; |
| | | |
| | | @Column(name = "ios_click") |
| | | private Long iosClick; |
| | | |
| | | @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 String taobaoCids; |
| | | |
| | | // 动态二级商品分类 |
| | | @Expose |
| | | private List<GoodsClass> listSub; |
| | | |
| | | |
| | | public GoodsClass() { |
| | | } |
| | | |
| | | 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) { |
| | | super(); |
| | | this.name = name; |
| | | this.picture = picture; |
| | | this.orderby = orderby; |
| | | this.createtime = createtime; |
| | | } |
| | | |
| | | public Long getId() { |
| | | return id; |
| | | } |
| | | |
| | | public void setId(Long id) { |
| | | this.id = id; |
| | | } |
| | | |
| | | public String getName() { |
| | | return name; |
| | | } |
| | | |
| | | public void setName(String name) { |
| | | this.name = name; |
| | | } |
| | | |
| | | public String getPicture() { |
| | | return picture; |
| | | } |
| | | |
| | | public void setPicture(String picture) { |
| | | this.picture = picture; |
| | | } |
| | | |
| | | public String getUrl() { |
| | | return url; |
| | | } |
| | | |
| | | public void setUrl(String url) { |
| | | this.url = url; |
| | | } |
| | | |
| | | public String getKey() { |
| | | return key; |
| | | } |
| | | |
| | | public void setKey(String key) { |
| | | this.key = key; |
| | | } |
| | | |
| | | public String getSearchParam() { |
| | | return searchParam; |
| | | } |
| | | |
| | | public void setSearchParam(String searchParam) { |
| | | this.searchParam = searchParam; |
| | | } |
| | | |
| | | public Integer getOrderby() { |
| | | return orderby; |
| | | } |
| | | |
| | | public void setOrderby(Integer orderby) { |
| | | this.orderby = orderby; |
| | | } |
| | | |
| | | public Long getCreatetime() { |
| | | return createtime; |
| | | } |
| | | |
| | | public void setCreatetime(Long createtime) { |
| | | this.createtime = createtime; |
| | | } |
| | | |
| | | public Long getIosClick() { |
| | | return iosClick; |
| | | } |
| | | |
| | | public void setIosClick(Long iosClick) { |
| | | this.iosClick = iosClick; |
| | | } |
| | | |
| | | public Long getAndroidClick() { |
| | | return androidClick; |
| | | } |
| | | |
| | | public void setAndroidClick(Long androidClick) { |
| | | this.androidClick = androidClick; |
| | | } |
| | | |
| | | public Long getCountClick() { |
| | | return countClick; |
| | | } |
| | | |
| | | public void setCountClick(Long countClick) { |
| | | this.countClick = countClick; |
| | | } |
| | | |
| | | public int getCountlabel() { |
| | | return countlabel; |
| | | } |
| | | |
| | | public void setCountlabel(int countlabel) { |
| | | this.countlabel = countlabel; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public String getTaobaoCids() { |
| | | return taobaoCids; |
| | | } |
| | | |
| | | public void setTaobaoCids(String taobaoCids) { |
| | | this.taobaoCids = taobaoCids; |
| | | } |
| | | |
| | | public List<GoodsClass> getListSub() { |
| | | return listSub; |
| | | } |
| | | |
| | | public void setListSub(List<GoodsClass> listSub) { |
| | | this.listSub = listSub; |
| | | } |
| | | |
| | | } |