123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457 |
- package com.kmall.api.entity;
- import java.io.Serializable;
- import java.math.BigDecimal;
- import java.util.Date;
- /**
- * @author Scott
- * @email
- * @date 2017-08-15 08:03:40
- */
- public class GoodsVo implements Serializable {
- private static final long serialVersionUID = 1L;
- //主键
- private Long id;
- //商品类型Id
- private Integer category_id;
- //商品序列号
- private String goods_sn;
- //名称
- private String name;
- //品牌Id
- private Integer brand_id;
- //商品库存
- private Integer goods_number;
- //关键字
- private String keywords;
- //简明介绍
- private String goods_brief;
- //商品描述
- private String goods_desc;
- //上架
- private Integer is_on_sale;
- //添加时间
- private Date add_time;
- //排序
- private Integer sort_order;
- //删除状态
- private Integer is_delete;
- //属性类别
- private Integer attribute_category;
- //专柜价格
- private BigDecimal counter_price;
- //附加价格
- private BigDecimal extra_price;
- //是否新商品
- private Integer is_new;
- //商品单位
- private String goods_unit;
- //商品主图
- private String primary_pic_url;
- //商品列表图
- private String list_pic_url;
- //市场价
- private BigDecimal market_price;
- //零售价格(现价)
- private BigDecimal retail_price;
- //销售量
- private Integer sell_volume;
- //主sku product_id
- private Integer primary_product_id;
- //单位价格,单价
- private BigDecimal unit_price;
- //推广描述
- private String promotion_desc;
- //推广标签
- private String promotion_tag;
- //APP专享价
- private BigDecimal app_exclusive_price;
- //是否是APP专属
- private Integer is_app_exclusive;
- //限购
- private Integer is_limited;
- //热销
- private Integer is_hot;
- //购物车中商品数量
- private Integer cart_num = 0;
- // 冗余
- // 产品Id
- private Integer product_id;
- //商品库存,一般需要针对某个门店
- private Integer stock_num;
- // 团购Id
- private Long group_id;
- private String sku;
- private String goodsBizType;
- private String createrSn;
- private Date createTime;
- private String moderSn;
- private Date modTime;
- private Date tstm;
- private BigDecimal goodsRate;
- private Integer stockNum;
- public Integer getStockNum() {
- return stockNum;
- }
- public void setStockNum(Integer stockNum) {
- this.stockNum = stockNum;
- }
- public BigDecimal getGoodsRate() {
- return goodsRate;
- }
- public void setGoodsRate(BigDecimal goodsRate) {
- this.goodsRate = goodsRate;
- }
- public String getSku() {
- return sku;
- }
- public void setSku(String sku) {
- this.sku = sku;
- }
- public String getGoodsBizType() {
- return goodsBizType;
- }
- public void setGoodsBizType(String goodsBizType) {
- this.goodsBizType = goodsBizType;
- }
- public String getCreaterSn() {
- return createrSn;
- }
- public void setCreaterSn(String createrSn) {
- this.createrSn = createrSn;
- }
- public Date getCreateTime() {
- return createTime;
- }
- public void setCreateTime(Date createTime) {
- this.createTime = createTime;
- }
- public String getModerSn() {
- return moderSn;
- }
- public void setModerSn(String moderSn) {
- this.moderSn = moderSn;
- }
- public Date getModTime() {
- return modTime;
- }
- public void setModTime(Date modTime) {
- this.modTime = modTime;
- }
- public Date getTstm() {
- return tstm;
- }
- public void setTstm(Date tstm) {
- this.tstm = tstm;
- }
- public Long getId() {
- return id;
- }
- public void setId(Long id) {
- this.id = id;
- }
- public Integer getCategory_id() {
- return category_id;
- }
- public void setCategory_id(Integer category_id) {
- this.category_id = category_id;
- }
- public String getGoods_sn() {
- return goods_sn;
- }
- public void setGoods_sn(String goods_sn) {
- this.goods_sn = goods_sn;
- }
- public String getName() {
- return name;
- }
- public void setName(String name) {
- this.name = name;
- }
- public Integer getBrand_id() {
- return brand_id;
- }
- public void setBrand_id(Integer brand_id) {
- this.brand_id = brand_id;
- }
- public Integer getGoods_number() {
- return goods_number;
- }
- public void setGoods_number(Integer goods_number) {
- this.goods_number = goods_number;
- }
- public String getKeywords() {
- return keywords;
- }
- public void setKeywords(String keywords) {
- this.keywords = keywords;
- }
- public String getGoods_brief() {
- return goods_brief;
- }
- public void setGoods_brief(String goods_brief) {
- this.goods_brief = goods_brief;
- }
- public String getGoods_desc() {
- return goods_desc;
- }
- public void setGoods_desc(String goods_desc) {
- this.goods_desc = goods_desc;
- }
- public Integer getIs_on_sale() {
- return is_on_sale;
- }
- public void setIs_on_sale(Integer is_on_sale) {
- this.is_on_sale = is_on_sale;
- }
- public Date getAdd_time() {
- return add_time;
- }
- public void setAdd_time(Date add_time) {
- this.add_time = add_time;
- }
- public Integer getSort_order() {
- return sort_order;
- }
- public void setSort_order(Integer sort_order) {
- this.sort_order = sort_order;
- }
- public Integer getIs_delete() {
- return is_delete;
- }
- public void setIs_delete(Integer is_delete) {
- this.is_delete = is_delete;
- }
- public Integer getAttribute_category() {
- return attribute_category;
- }
- public void setAttribute_category(Integer attribute_category) {
- this.attribute_category = attribute_category;
- }
- public BigDecimal getCounter_price() {
- return counter_price;
- }
- public void setCounter_price(BigDecimal counter_price) {
- this.counter_price = counter_price;
- }
- public BigDecimal getExtra_price() {
- return extra_price;
- }
- public void setExtra_price(BigDecimal extra_price) {
- this.extra_price = extra_price;
- }
- public Integer getIs_new() {
- return is_new;
- }
- public void setIs_new(Integer is_new) {
- this.is_new = is_new;
- }
- public String getGoods_unit() {
- return goods_unit;
- }
- public void setGoods_unit(String goods_unit) {
- this.goods_unit = goods_unit;
- }
- public String getPrimary_pic_url() {
- return primary_pic_url;
- }
- public void setPrimary_pic_url(String primary_pic_url) {
- this.primary_pic_url = primary_pic_url;
- }
- public String getList_pic_url() {
- return list_pic_url;
- }
- public void setList_pic_url(String list_pic_url) {
- this.list_pic_url = list_pic_url;
- }
- public BigDecimal getRetail_price() {
- return retail_price;
- }
- public void setRetail_price(BigDecimal retail_price) {
- this.retail_price = retail_price;
- }
- public Integer getSell_volume() {
- return sell_volume;
- }
- public void setSell_volume(Integer sell_volume) {
- this.sell_volume = sell_volume;
- }
- public Integer getPrimary_product_id() {
- return primary_product_id;
- }
- public void setPrimary_product_id(Integer primary_product_id) {
- this.primary_product_id = primary_product_id;
- }
- public BigDecimal getUnit_price() {
- return unit_price;
- }
- public void setUnit_price(BigDecimal unit_price) {
- this.unit_price = unit_price;
- }
- public String getPromotion_desc() {
- return promotion_desc;
- }
- public void setPromotion_desc(String promotion_desc) {
- this.promotion_desc = promotion_desc;
- }
- public String getPromotion_tag() {
- return promotion_tag;
- }
- public void setPromotion_tag(String promotion_tag) {
- this.promotion_tag = promotion_tag;
- }
- public BigDecimal getApp_exclusive_price() {
- return app_exclusive_price;
- }
- public void setApp_exclusive_price(BigDecimal app_exclusive_price) {
- this.app_exclusive_price = app_exclusive_price;
- }
- public Integer getIs_app_exclusive() {
- return is_app_exclusive;
- }
- public void setIs_app_exclusive(Integer is_app_exclusive) {
- this.is_app_exclusive = is_app_exclusive;
- }
- public Integer getIs_limited() {
- return is_limited;
- }
- public void setIs_limited(Integer is_limited) {
- this.is_limited = is_limited;
- }
- public Integer getIs_hot() {
- return is_hot;
- }
- public void setIs_hot(Integer is_hot) {
- this.is_hot = is_hot;
- }
- public Integer getCart_num() {
- return cart_num;
- }
- public void setCart_num(Integer cart_num) {
- this.cart_num = cart_num;
- }
- public Integer getProduct_id() {
- return product_id;
- }
- public void setProduct_id(Integer product_id) {
- this.product_id = product_id;
- }
- public BigDecimal getMarket_price() {
- return market_price;
- }
- public void setMarket_price(BigDecimal market_price) {
- this.market_price = market_price;
- }
- public Integer getStock_num() {
- return stock_num;
- }
- public void setStock_num(Integer stock_num) {
- this.stock_num = stock_num;
- }
- public Long getGroup_id() {
- return group_id;
- }
- public void setGroup_id(Long group_id) {
- this.group_id = group_id;
- }
- }
|