admin
2019-05-14 bcf4752ca116968165f5067b183075b6f6678360
新版商品列表信息输出
3个文件已添加
248 ■■■■■ 已修改文件
fanli/src/main/java/com/yeshi/fanli/vo/goods/CouponInfoVO.java 76 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/vo/goods/GoodsListVO.java 141 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/vo/goods/MoneyInfoVO.java 31 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
fanli/src/main/java/com/yeshi/fanli/vo/goods/CouponInfoVO.java
New file
@@ -0,0 +1,76 @@
package com.yeshi.fanli.vo.goods;
import java.math.BigDecimal;
/**
 * 券信息
 *
 * @author Administrator
 *
 */
public class CouponInfoVO {
    private int totalCount;// 总数量
    private int leftCount;// 剩余数量
    private BigDecimal amount;// 券面额
    private BigDecimal startFee;// 使用开始金额
    private String startTime;// 开始时间
    private String endTime;// 结束时间
    private String link;// 券链接
    public int getTotalCount() {
        return totalCount;
    }
    public void setTotalCount(int totalCount) {
        this.totalCount = totalCount;
    }
    public int getLeftCount() {
        return leftCount;
    }
    public void setLeftCount(int leftCount) {
        this.leftCount = leftCount;
    }
    public BigDecimal getAmount() {
        return amount;
    }
    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }
    public BigDecimal getStartFee() {
        return startFee;
    }
    public void setStartFee(BigDecimal startFee) {
        this.startFee = startFee;
    }
    public String getStartTime() {
        return startTime;
    }
    public void setStartTime(String startTime) {
        this.startTime = startTime;
    }
    public String getEndTime() {
        return endTime;
    }
    public void setEndTime(String endTime) {
        this.endTime = endTime;
    }
    public String getLink() {
        return link;
    }
    public void setLink(String link) {
        this.link = link;
    }
}
fanli/src/main/java/com/yeshi/fanli/vo/goods/GoodsListVO.java
New file
@@ -0,0 +1,141 @@
package com.yeshi.fanli.vo.goods;
import java.math.BigDecimal;
import java.util.List;
import com.yeshi.fanli.vo.msg.ClientTextStyleVO;
/**
 * 商品列表对象
 *
 * @author Administrator
 *
 */
public class GoodsListVO {
    private Long goodsId;// 商品ID
    private int goodsType;// 商品类型
    private int shopType;// 类型 1-淘宝 2-天猫 3-京东 4-拼多多
    private CouponInfoVO couponInfo;// 券信息
    private MoneyInfoVO moneyInfo;// 资金信息
    private boolean hasCoupon;// 是否有券
    private BigDecimal couponPrice;// 券后价
    private BigDecimal zkPrice;// 正常售价
    private String shopTitle;// 店铺标题
    private String picUrl;// 图片链接
    private String title;// 标题
    private String salesCount;// 销量
    private List<ClientTextStyleVO> labels;//// 标签
    private int salesType;//// 销量类型:1-月销量 2-2小时销量 3-今日销量
    public Long getGoodsId() {
        return goodsId;
    }
    public void setGoodsId(Long goodsId) {
        this.goodsId = goodsId;
    }
    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 CouponInfoVO getCouponInfo() {
        return couponInfo;
    }
    public void setCouponInfo(CouponInfoVO couponInfo) {
        this.couponInfo = couponInfo;
    }
    public MoneyInfoVO getMoneyInfo() {
        return moneyInfo;
    }
    public void setMoneyInfo(MoneyInfoVO moneyInfo) {
        this.moneyInfo = moneyInfo;
    }
    public boolean isHasCoupon() {
        return hasCoupon;
    }
    public void setHasCoupon(boolean hasCoupon) {
        this.hasCoupon = hasCoupon;
    }
    public BigDecimal getCouponPrice() {
        return couponPrice;
    }
    public void setCouponPrice(BigDecimal couponPrice) {
        this.couponPrice = couponPrice;
    }
    public BigDecimal getZkPrice() {
        return zkPrice;
    }
    public void setZkPrice(BigDecimal zkPrice) {
        this.zkPrice = zkPrice;
    }
    public String getShopTitle() {
        return shopTitle;
    }
    public void setShopTitle(String shopTitle) {
        this.shopTitle = shopTitle;
    }
    public String getPicUrl() {
        return picUrl;
    }
    public void setPicUrl(String picUrl) {
        this.picUrl = picUrl;
    }
    public String getTitle() {
        return title;
    }
    public void setTitle(String title) {
        this.title = title;
    }
    public String getSalesCount() {
        return salesCount;
    }
    public void setSalesCount(String salesCount) {
        this.salesCount = salesCount;
    }
    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;
    }
}
fanli/src/main/java/com/yeshi/fanli/vo/goods/MoneyInfoVO.java
New file
@@ -0,0 +1,31 @@
package com.yeshi.fanli.vo.goods;
public class MoneyInfoVO {
    private String fanliMoney;// 返利金额
    private int moneyType;// 资金类型
    private String shareMoney;// 分享奖金
    public String getFanliMoney() {
        return fanliMoney;
    }
    public void setFanliMoney(String fanliMoney) {
        this.fanliMoney = fanliMoney;
    }
    public int getMoneyType() {
        return moneyType;
    }
    public void setMoneyType(int moneyType) {
        this.moneyType = moneyType;
    }
    public String getShareMoney() {
        return shareMoney;
    }
    public void setShareMoney(String shareMoney) {
        this.shareMoney = shareMoney;
    }
}