| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- package com.cyksj.model.manage.request;
- import com.cyksj.model.entity.GoodsDiscountPlusPurchaseRelation;
- import lombok.Getter;
- import lombok.Setter;
- import javax.validation.constraints.NotNull;
- import java.math.BigDecimal;
- import java.util.List;
- /**
- * @author chan
- * @date 2022/9/27 5:28 PM
- */
- @Getter
- @Setter
- public class ReqGoodsSkuInsert {
- private Long id;
- @NotNull(message = "请指定商品spu.")
- private Long goodsId;
- private List<ReqGoodsSkuSpec> specs;
- private List<Sku> skus;
- @Getter
- @Setter
- public static class Sku {
- /**
- * 商品规格 ids
- */
- private String specIds;
- /**
- * 副标题
- */
- private String subTitle;
- /**
- * 商品预览图
- */
- private String picture;
- /**
- * 商品详细图
- */
- private String detail;
- /**
- * 规格说明信息
- */
- private String notifyText;
- /**
- * H5标签
- */
- private String mobileTags;
- /**
- * 规格背景图
- */
- private String img;
- private String tags;
- private BigDecimal price;
- /**
- * 专属用户规格
- */
- private String userOwns;
- /**
- * 数量
- */
- private Integer num;
- /**
- * 有效天数
- */
- private Integer days;
- /**
- * 月份
- */
- private Integer months;
- /**
- * 状态
- */
- private Boolean status;
- /**
- * 是否开启实物车票时长权益
- */
- private Boolean isBenefits;
- /**
- * 权益列表
- */
- private String benefitsList;
- /**
- * 优惠加购虚拟商品
- */
- private List<GoodsDiscountPlusPurchaseRelation> dpSku;
- /**
- * 特定价格
- */
- private BigDecimal specificPrice;
- /**
- * 特定平台购买用户人群
- */
- private String specificGoodsIds;
- /**
- * 规格框提示
- */
- private String smallMsg;
- /**
- * 双重验证码查看次数
- */
- private Integer codeNum;
- /**
- * 是否是镜像服务
- */
- private Boolean isMirror;
- }
- }
|