| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243 |
- package com.cyksj.model.manage.request;
- import com.baomidou.mybatisplus.annotation.FieldStrategy;
- import com.baomidou.mybatisplus.annotation.TableField;
- 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 BigDecimal renewPrice;
- /**
- * 专属用户规格
- */
- 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;
- /**
- * 排序
- */
- private Integer sorted;
- /**
- * 是否是车队形式
- */
- private Boolean isCar;
- /**
- * 限制次数
- */
- private int gptLimitNum;
- /**
- * 限制时间
- */
- private int gptLimitTime;
- /**
- * mj fast次数
- */
- private Integer mjFastNum;
- /**
- * mj relax次数
- */
- private Integer mjRelaxNum;
- private Integer lumaNum;
- /**
- * deepseek限制次数
- */
- private Integer dsLimitNum;
- /**
- * deepseek限制时间
- */
- private Long dsLimitTime;
- /**
- * 其他模型限制次数
- */
- private Integer otherLimitNum;
- /**
- * 其他模型限制时间
- */
- private Long otherLimitTime;
- /**
- * 备注
- */
- private String remark;
- /**
- * claude code每日限额
- */
- private Integer claudeDailyLimit;
- /**
- * Claude code 服务总额度
- */
- private Integer claudeQuota;
- /**
- * nano总配额次数
- */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Integer nanoQuota;
- /**
- * cc最高约可使用次数
- */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Integer highestUsage;
- /**
- * 是否赠送codex
- */
- private Boolean isCodex;
- /**
- * codex套餐名
- */
- private String codexPlanName;
- /**
- * 每日预算上限
- */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Integer openaiDailyLimit;
- /**
- * 每月预算上限
- */
- @TableField(updateStrategy = FieldStrategy.IGNORED)
- private Integer openaiQuota;
- private Boolean isDown;
- }
- }
|