package cn.freemud.entities.vo;

import lombok.Data;

import java.util.List;

/**
 * All rights Reserved, Designed By www.freemud.com
 *
 * @version V1.0
 * @Title:
 * @Package: cn.freemud.entities.vo
 * @Descripttion:
 * @author: shuhu.hou
 * @date: 2019/8/28
 * @Copyright: 2017 www.freemud.cn Inc. All rights reserved.
 * 注意：本内容仅限于上海非码科技内部传阅，禁止外泄以及用于其他的商业目.
 */
@Data
public class SubtractStockVO {
    //活动编码
    private String activityCode;
    private Integer activityStock;
    //活动类型
    private Integer activityType;
    //商品库存扣除列表
    private List<SubtractStockGoodsVO> goodsStock;

    @Data
    public static class SubtractStockGoodsVO {
        //商品编号
        private String goodsId;
        //库存
        private Integer stock;
        //等级编码，当不同等级都有自己的库存时，字段必填
        private Integer benefitSeq;
    }
}
