package com.yeshi.fanli.lijin.vo;
|
|
import com.yeshi.common.vo.ClientTextStyleVO;
|
import com.yeshi.fanli.entity.bus.user.ShamUser;
|
import com.yeshi.fanli.vo.goods.CouponInfoVO;
|
import com.yeshi.fanli.vo.goods.MoneyInfoVO;
|
import com.yeshi.fanli.vo.goods.ShopInfoVO;
|
|
import java.math.BigDecimal;
|
import java.util.List;
|
|
public class GoodsDetailVO {
|
|
private GoodsInfoVO goods;
|
private GoodsExtraVO extra;
|
|
|
public GoodsInfoVO getGoods() {
|
return goods;
|
}
|
|
public void setGoods(GoodsInfoVO goods) {
|
this.goods = goods;
|
}
|
|
public GoodsExtraVO getExtra() {
|
return extra;
|
}
|
|
public void setExtra(GoodsExtraVO extra) {
|
this.extra = extra;
|
}
|
|
|
public static class GoodsInfoVO {
|
private String goodsId;
|
private String title;// 标题
|
private List<String> imgList;
|
private int state; // 0-正常 1-商品下架
|
private List<CouponInfoVO> couponInfoList;// 所有券信息
|
//临时券信息
|
private CouponInfoVO tempCoupon;
|
private int goodsType;// 商品类型 1-淘宝 2-京东 3-拼多多
|
private int shopType;// 店铺类型: 1-淘宝 2-天猫 3-京东 4-拼多多
|
private List<ClientTextStyleVO> labels;// 标签
|
private int salesType;
|
private String salesCount;
|
private String address;
|
private ShopInfoVO shopInfo;
|
private List<GoodsRightsVO> rights;
|
private MoneyInfoVO moneyInfo;
|
private List<GoodsHongBaoListVO> priceList;
|
private String zkPrice;
|
private BigDecimal couponPrice;
|
|
|
public BigDecimal getCouponPrice() {
|
return couponPrice;
|
}
|
|
public void setCouponPrice(BigDecimal couponPrice) {
|
this.couponPrice = couponPrice;
|
}
|
|
public String getZkPrice() {
|
return zkPrice;
|
}
|
|
public void setZkPrice(String zkPrice) {
|
this.zkPrice = zkPrice;
|
}
|
|
public List<GoodsHongBaoListVO> getPriceList() {
|
return priceList;
|
}
|
|
public void setPriceList(List<GoodsHongBaoListVO> priceList) {
|
this.priceList = priceList;
|
}
|
|
public CouponInfoVO getTempCoupon() {
|
return tempCoupon;
|
}
|
|
public void setTempCoupon(CouponInfoVO tempCoupon) {
|
this.tempCoupon = tempCoupon;
|
}
|
|
public MoneyInfoVO getMoneyInfo() {
|
return moneyInfo;
|
}
|
|
public void setMoneyInfo(MoneyInfoVO moneyInfo) {
|
this.moneyInfo = moneyInfo;
|
}
|
|
public String getGoodsId() {
|
return goodsId;
|
}
|
|
public void setGoodsId(String goodsId) {
|
this.goodsId = goodsId;
|
}
|
|
public String getSalesCount() {
|
return salesCount;
|
}
|
|
public void setSalesCount(String salesCount) {
|
this.salesCount = salesCount;
|
}
|
|
public String getTitle() {
|
return title;
|
}
|
|
public void setTitle(String title) {
|
this.title = title;
|
}
|
|
public List<String> getImgList() {
|
return imgList;
|
}
|
|
public void setImgList(List<String> imgList) {
|
this.imgList = imgList;
|
}
|
|
public int getState() {
|
return state;
|
}
|
|
public void setState(int state) {
|
this.state = state;
|
}
|
|
public List<CouponInfoVO> getCouponInfoList() {
|
return couponInfoList;
|
}
|
|
public void setCouponInfoList(List<CouponInfoVO> couponInfoList) {
|
this.couponInfoList = couponInfoList;
|
}
|
|
public int getGoodsType() {
|
return goodsType;
|
}
|
|
public void setGoodsType(int goodsType) {
|
this.goodsType = goodsType;
|
}
|
|
public int getShopType() {
|
return shopType;
|
}
|
|
public void setShopType(int shopType) {
|
this.shopType = shopType;
|
}
|
|
public List<ClientTextStyleVO> getLabels() {
|
return labels;
|
}
|
|
public void setLabels(List<ClientTextStyleVO> labels) {
|
this.labels = labels;
|
}
|
|
public int getSalesType() {
|
return salesType;
|
}
|
|
public void setSalesType(int salesType) {
|
this.salesType = salesType;
|
}
|
|
public String getAddress() {
|
return address;
|
}
|
|
public void setAddress(String address) {
|
this.address = address;
|
}
|
|
public ShopInfoVO getShopInfo() {
|
return shopInfo;
|
}
|
|
public void setShopInfo(ShopInfoVO shopInfo) {
|
this.shopInfo = shopInfo;
|
}
|
|
public List<GoodsRightsVO> getRights() {
|
return rights;
|
}
|
|
public void setRights(List<GoodsRightsVO> rights) {
|
this.rights = rights;
|
}
|
}
|
|
public static class GoodsExtraVO {
|
private boolean fanliValid;
|
private boolean buyValid;
|
private String detailUrl;
|
private List<ShamUser> listCouponUser;
|
private boolean collected;
|
|
public boolean isCollected() {
|
return collected;
|
}
|
|
public void setCollected(boolean collected) {
|
this.collected = collected;
|
}
|
|
public boolean isFanliValid() {
|
return fanliValid;
|
}
|
|
public void setFanliValid(boolean fanliValid) {
|
this.fanliValid = fanliValid;
|
}
|
|
public boolean isBuyValid() {
|
return buyValid;
|
}
|
|
public void setBuyValid(boolean buyValid) {
|
this.buyValid = buyValid;
|
}
|
|
public String getDetailUrl() {
|
return detailUrl;
|
}
|
|
public void setDetailUrl(String detailUrl) {
|
this.detailUrl = detailUrl;
|
}
|
|
public List<ShamUser> getListCouponUser() {
|
return listCouponUser;
|
}
|
|
public void setListCouponUser(List<ShamUser> listCouponUser) {
|
this.listCouponUser = listCouponUser;
|
}
|
}
|
|
|
public static class GoodsRightsVO {
|
//1-券 2-红包 3-首单礼金 4-返利
|
private int type;
|
private String money;
|
private String desc;
|
private String descLink;
|
|
public GoodsRightsVO(int type, String money, String desc) {
|
this.type = type;
|
this.money = money;
|
this.desc = desc;
|
}
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public String getMoney() {
|
return money;
|
}
|
|
public void setMoney(String money) {
|
this.money = money;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public String getDescLink() {
|
return descLink;
|
}
|
|
public void setDescLink(String descLink) {
|
this.descLink = descLink;
|
}
|
}
|
|
public static class GoodsHongBaoListVO {
|
|
// 2-红包 4-返利
|
private int type;
|
private String subMoney;
|
private String subMoneyDesc;
|
private String finalMoney;
|
//价格详情
|
private List<PriceInfo> priceDetails;
|
private UserLevelVO userLevel;
|
private String desc;
|
|
public int getType() {
|
return type;
|
}
|
|
public void setType(int type) {
|
this.type = type;
|
}
|
|
public String getSubMoney() {
|
return subMoney;
|
}
|
|
public void setSubMoney(String subMoney) {
|
this.subMoney = subMoney;
|
}
|
|
public String getSubMoneyDesc() {
|
return subMoneyDesc;
|
}
|
|
public void setSubMoneyDesc(String subMoneyDesc) {
|
this.subMoneyDesc = subMoneyDesc;
|
}
|
|
public String getFinalMoney() {
|
return finalMoney;
|
}
|
|
public void setFinalMoney(String finalMoney) {
|
this.finalMoney = finalMoney;
|
}
|
|
public List<PriceInfo> getPriceDetails() {
|
return priceDetails;
|
}
|
|
public void setPriceDetails(List<PriceInfo> priceDetails) {
|
this.priceDetails = priceDetails;
|
}
|
|
public UserLevelVO getUserLevel() {
|
return userLevel;
|
}
|
|
public void setUserLevel(UserLevelVO userLevel) {
|
this.userLevel = userLevel;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public static class UserLevelVO {
|
//VIP等级 0-初级 1-青铜 2-白银 3-铂金
|
private int vipRank;
|
private String desc;
|
private String link;
|
|
public int getVipRank() {
|
return vipRank;
|
}
|
|
public void setVipRank(int vipRank) {
|
this.vipRank = vipRank;
|
}
|
|
public String getDesc() {
|
return desc;
|
}
|
|
public void setDesc(String desc) {
|
this.desc = desc;
|
}
|
|
public String getLink() {
|
return link;
|
}
|
|
public void setLink(String link) {
|
this.link = link;
|
}
|
}
|
|
public static class PriceInfo {
|
private String name;
|
private String money;
|
|
public PriceInfo(String name, String money) {
|
this.name = name;
|
this.money = money;
|
}
|
|
public String getName() {
|
return name;
|
}
|
|
public void setName(String name) {
|
this.name = name;
|
}
|
|
public String getMoney() {
|
return money;
|
}
|
|
public void setMoney(String money) {
|
this.money = money;
|
}
|
}
|
}
|
|
}
|