| | |
| | | package com.yeshi.fanli.entity.shop;
|
| | |
|
| | | import java.math.BigDecimal;
|
| | | import java.util.Date;
|
| | | import java.util.List;
|
| | |
|
| | | import org.yeshi.utils.mybatis.Column;
|
| | | import org.yeshi.utils.mybatis.Table;
|
| | |
|
| | | /**
|
| | | * 商品套餐
|
| | | * |
| | | * @author Administrator
|
| | | *
|
| | | */
|
| | | @Table("yeshi_ec_shop_goods_set")
|
| | | public class BanLiShopGoodsSets {
|
| | |
|
| | | public final static int STATE_ONLINE = 1;// 在线
|
| | | public final static int STATE_OFFLINE = 0;// 下线
|
| | |
|
| | | @Column(name = "sgs_id")
|
| | | private Long id;
|
| | | @Column(name = "sgs_name")
|
| | | private String name;// 套餐全名
|
| | | @Column(name = "sgs_sub_name")
|
| | | private String subName;// 套餐简称
|
| | | @Column(name = "sgs_goods_id")
|
| | | private BanLiShopGoods goods;// 商品
|
| | | @Column(name = "sgs_original_price")
|
| | | private BigDecimal originalPrice;// 原价/官方价
|
| | | @Column(name = "sgs_zk_price")
|
| | | private BigDecimal zkPrice;// 折扣价
|
| | | @Column(name = "sgs_sales_count")
|
| | | private Long salesCount;// 销量
|
| | | @Column(name = "sgs_stock")
|
| | | private Integer stock;// 库存
|
| | | @Column(name = "sgs_charge_fulu_num")
|
| | | private String chargeFuLuNum;// 福禄充值平台的商品ID
|
| | | @Column(name = "sgs_create_time")
|
| | | private Date createTime;
|
| | | @Column(name = "sgs_update_time")
|
| | | private Date updateTime;
|
| | | private List<BanLiShopGoodsSetsPay> payList;// 支付方式列表
|
| | | @Column(name = "sgs_weight")
|
| | | private Integer weight;
|
| | |
|
| | | @Column(name = "sgs_state")
|
| | | private Integer state;
|
| | |
|
| | | public String getSubName() {
|
| | | return subName;
|
| | | }
|
| | |
|
| | | public void setSubName(String subName) {
|
| | | this.subName = subName;
|
| | | }
|
| | |
|
| | | public Integer getState() {
|
| | | return state;
|
| | | }
|
| | |
|
| | | public void setState(Integer state) {
|
| | | this.state = state;
|
| | | }
|
| | |
|
| | | public Integer getWeight() {
|
| | | return weight;
|
| | | }
|
| | |
|
| | | public void setWeight(Integer weight) {
|
| | | this.weight = weight;
|
| | | }
|
| | |
|
| | | public List<BanLiShopGoodsSetsPay> getPayList() {
|
| | | return payList;
|
| | | }
|
| | |
|
| | | public void setPayList(List<BanLiShopGoodsSetsPay> payList) {
|
| | | this.payList = payList;
|
| | | }
|
| | |
|
| | | public String getChargeFuLuNum() {
|
| | | return chargeFuLuNum;
|
| | | }
|
| | |
|
| | | public void setChargeFuLuNum(String chargeFuLuNum) {
|
| | | this.chargeFuLuNum = chargeFuLuNum;
|
| | | }
|
| | |
|
| | | 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 BanLiShopGoods getGoods() {
|
| | | return goods;
|
| | | }
|
| | |
|
| | | public void setGoods(BanLiShopGoods goods) {
|
| | | this.goods = goods;
|
| | | }
|
| | |
|
| | | public BigDecimal getOriginalPrice() {
|
| | | return originalPrice;
|
| | | }
|
| | |
|
| | | public void setOriginalPrice(BigDecimal originalPrice) {
|
| | | this.originalPrice = originalPrice;
|
| | | }
|
| | |
|
| | | public BigDecimal getZkPrice() {
|
| | | return zkPrice;
|
| | | }
|
| | |
|
| | | public void setZkPrice(BigDecimal zkPrice) {
|
| | | this.zkPrice = zkPrice;
|
| | | }
|
| | |
|
| | | public Long getSalesCount() {
|
| | | return salesCount;
|
| | | }
|
| | |
|
| | | public void setSalesCount(Long salesCount) {
|
| | | this.salesCount = salesCount;
|
| | | }
|
| | |
|
| | | public Integer getStock() {
|
| | | return stock;
|
| | | }
|
| | |
|
| | | public void setStock(Integer stock) {
|
| | | this.stock = stock;
|
| | | }
|
| | |
|
| | | public Date getCreateTime() {
|
| | | return createTime;
|
| | | }
|
| | |
|
| | | public void setCreateTime(Date createTime) {
|
| | | this.createTime = createTime;
|
| | | }
|
| | |
|
| | | public Date getUpdateTime() {
|
| | | return updateTime;
|
| | | }
|
| | |
|
| | | public void setUpdateTime(Date updateTime) {
|
| | | this.updateTime = updateTime;
|
| | | }
|
| | |
|
| | | }
|
| | | package com.yeshi.fanli.entity.shop; |
| | | |
| | | import java.math.BigDecimal; |
| | | import java.util.Date; |
| | | import java.util.List; |
| | | |
| | | import org.yeshi.utils.generater.mybatis.Column; |
| | | import org.yeshi.utils.generater.mybatis.Table; |
| | | |
| | | /** |
| | | * 商品套餐 |
| | | * |
| | | * @author Administrator |
| | | * |
| | | */ |
| | | @Table("yeshi_ec_shop_goods_set") |
| | | public class BanLiShopGoodsSets { |
| | | |
| | | public final static int STATE_ONLINE = 1;// 在线 |
| | | public final static int STATE_OFFLINE = 0;// 下线 |
| | | |
| | | @Column(name = "sgs_id") |
| | | private Long id; |
| | | @Column(name = "sgs_name") |
| | | private String name;// 套餐全名 |
| | | @Column(name = "sgs_sub_name") |
| | | private String subName;// 套餐简称 |
| | | @Column(name = "sgs_goods_id") |
| | | private BanLiShopGoods goods;// 商品 |
| | | @Column(name = "sgs_original_price") |
| | | private BigDecimal originalPrice;// 原价/官方价 |
| | | @Column(name = "sgs_zk_price") |
| | | private BigDecimal zkPrice;// 折扣价 |
| | | @Column(name = "sgs_sales_count") |
| | | private Long salesCount;// 销量 |
| | | @Column(name = "sgs_stock") |
| | | private Integer stock;// 库存 |
| | | @Column(name = "sgs_charge_fulu_num") |
| | | private String chargeFuLuNum;// 福禄充值平台的商品ID |
| | | @Column(name = "sgs_create_time") |
| | | private Date createTime; |
| | | @Column(name = "sgs_update_time") |
| | | private Date updateTime; |
| | | private List<BanLiShopGoodsSetsPay> payList;// 支付方式列表 |
| | | @Column(name = "sgs_weight") |
| | | private Integer weight; |
| | | |
| | | @Column(name = "sgs_state") |
| | | private Integer state; |
| | | |
| | | public String getSubName() { |
| | | return subName; |
| | | } |
| | | |
| | | public void setSubName(String subName) { |
| | | this.subName = subName; |
| | | } |
| | | |
| | | public Integer getState() { |
| | | return state; |
| | | } |
| | | |
| | | public void setState(Integer state) { |
| | | this.state = state; |
| | | } |
| | | |
| | | public Integer getWeight() { |
| | | return weight; |
| | | } |
| | | |
| | | public void setWeight(Integer weight) { |
| | | this.weight = weight; |
| | | } |
| | | |
| | | public List<BanLiShopGoodsSetsPay> getPayList() { |
| | | return payList; |
| | | } |
| | | |
| | | public void setPayList(List<BanLiShopGoodsSetsPay> payList) { |
| | | this.payList = payList; |
| | | } |
| | | |
| | | public String getChargeFuLuNum() { |
| | | return chargeFuLuNum; |
| | | } |
| | | |
| | | public void setChargeFuLuNum(String chargeFuLuNum) { |
| | | this.chargeFuLuNum = chargeFuLuNum; |
| | | } |
| | | |
| | | 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 BanLiShopGoods getGoods() { |
| | | return goods; |
| | | } |
| | | |
| | | public void setGoods(BanLiShopGoods goods) { |
| | | this.goods = goods; |
| | | } |
| | | |
| | | public BigDecimal getOriginalPrice() { |
| | | return originalPrice; |
| | | } |
| | | |
| | | public void setOriginalPrice(BigDecimal originalPrice) { |
| | | this.originalPrice = originalPrice; |
| | | } |
| | | |
| | | public BigDecimal getZkPrice() { |
| | | return zkPrice; |
| | | } |
| | | |
| | | public void setZkPrice(BigDecimal zkPrice) { |
| | | this.zkPrice = zkPrice; |
| | | } |
| | | |
| | | public Long getSalesCount() { |
| | | return salesCount; |
| | | } |
| | | |
| | | public void setSalesCount(Long salesCount) { |
| | | this.salesCount = salesCount; |
| | | } |
| | | |
| | | public Integer getStock() { |
| | | return stock; |
| | | } |
| | | |
| | | public void setStock(Integer stock) { |
| | | this.stock = stock; |
| | | } |
| | | |
| | | public Date getCreateTime() { |
| | | return createTime; |
| | | } |
| | | |
| | | public void setCreateTime(Date createTime) { |
| | | this.createTime = createTime; |
| | | } |
| | | |
| | | public Date getUpdateTime() { |
| | | return updateTime; |
| | | } |
| | | |
| | | public void setUpdateTime(Date updateTime) { |
| | | this.updateTime = updateTime; |
| | | } |
| | | |
| | | } |