| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333 |
- package com.cyksj.model.views;
- import com.ejlchina.searcher.bean.DbField;
- import com.ejlchina.searcher.bean.DbIgnore;
- import com.ejlchina.searcher.bean.SearchBean;
- import com.fasterxml.jackson.annotation.JsonInclude;
- import lombok.Getter;
- import lombok.Setter;
- import java.math.BigDecimal;
- import java.util.Date;
- import java.util.List;
- /*
- *项目名: netflix
- *文件名: GoodsDonSkuFrontView
- *创建者: JavaZou
- *创建时间:2023/4/6 17:58
- */
- @Getter
- @Setter
- @SearchBean(tables = "goods_don_sku sku",
- where = ":condition:")
- @JsonInclude(JsonInclude.Include.NON_NULL)
- public class GoodsDonSkuFrontView {
- private Long id;
- private Long goodsId;
- private String subTitle;
- /**
- * 商品规格 ids
- */
- private String specIds;
- /**
- * 商品规格 value
- */
- private String specVal;
- /**
- * 商品规格 json
- */
- private String specJson;
- /**
- * 规格说明信息
- */
- private String notifyText;
- /**
- * H5标签
- */
- private String mobileTags;
- /**
- * 规格背景图
- */
- private String img;
- /**
- * 规格框提示
- */
- private String smallMsg;
- /**
- * 商品预览图
- */
- private String picture;
- /**
- * 商品详情图
- */
- private String detail;
- /**
- * 标签
- */
- private String tags;
- /**
- * true 上架 / false 下架
- */
- private Boolean status;
- /**
- * 价格
- */
- private BigDecimal price = BigDecimal.ZERO;
- /**
- * 续费价格
- */
- private BigDecimal renewPrice;
- /**
- * 渠道优惠折扣
- */
- @DbIgnore
- private BigDecimal channelDiscount;
- /**
- * 优惠价格
- */
- @DbIgnore
- private BigDecimal discountPrice;
- /**
- * 优惠折扣
- */
- @DbIgnore
- private BigDecimal discount;
- /**
- * 满减金额
- */
- @DbIgnore
- private BigDecimal reduceMoney;
- /**
- * 优惠券有效结束时间
- */
- @DbIgnore
- private Date validEndTime;
- /**
- * 优惠券id
- */
- @DbIgnore
- private Long couponId;
- /**
- * 支付来源
- * 0全无 1.优惠券 2.渠道 3特定价格
- */
- @DbIgnore
- private Integer source = 0;
- /**
- * 专属用户规格
- */
- private String userOwns;
- /**
- * 月数
- */
- private Integer months;
- /**
- * 天数
- */
- private Integer days;
- // @DbField("case when spec_val like '%月%' and spec_val not like '%年%' then 0 when spec_val like '%季%' then 1 when spec_val like '%半年%' then 2 when spec_val like '%年%' then 3 else 66 end")
- // private Integer orderBy;
- private Boolean isDp;
- /**
- * 优惠加购商品
- */
- @DbIgnore
- private List<GoodsDiscountPlusPurchaseRelationFrontView> dpSkuViews;
- /**
- * 特定价格
- */
- private BigDecimal specificPrice;
- /**
- * 特定购买平台
- */
- private String specificGoodsIds;
- /**
- * 排序
- */
- private Integer sorted;
- @DbField("sku.num")
- private Integer skuNum;
- /**
- * 限制次数
- */
- private Integer gptLimitNum;
- /**
- * 限制时间
- */
- private Long gptLimitTime;
- /**
- * GPT think 次数
- */
- private Integer gptThink;
- /**
- * GPT think 限制时间
- */
- private Long gptThinkLimitTime;
- /**
- * GPT 高级模型(pro) 次数
- */
- private Integer gptPro;
- /**
- * GPT 高级模型(pro) 限制时间
- */
- private Long gptProLimitTime;
- /**
- * 深度研究 次数
- */
- private Integer gptDeepStyleLimit;
- /**
- * 深度研究 限制时间
- */
- private Long gptDeepStyleLimitTime;
- /**
- * mj fast次数
- */
- private Integer mjFastNum;
- /**
- * mj relax次数
- */
- private Integer mjRelaxNum;
- private Boolean isCar;
- private Boolean isMirror;
- private Integer lumaNum;
- private String remark;
- /**
- * 付款说明
- */
- private String payDesc;
- /**
- * 是否展示规格付款说明
- * 默认false
- */
- private Boolean showPayDesc;
- /**
- * deepseek限制次数
- */
- private Integer dsLimitNum;
- /**
- * deepseek限制时间
- */
- private Long dsLimitTime;
- /**
- * 其他模型限制次数
- */
- private Integer otherLimitNum;
- /**
- * 其他模型限制时间
- */
- private Long otherLimitTime;
- /**
- * claude code每日限额
- */
- private Integer claudeDailyLimit;
- /**
- * Claude code 服务总额度
- */
- private Integer claudeQuota;
- /**
- * nano总配额次数
- */
- private Integer nanoQuota;
- /**
- * cc最高约可使用次数
- */
- private Integer highestUsage;
- /**
- * 是否赠送codex
- */
- private Boolean isCodex;
- /**
- * codex套餐名
- */
- private String codexPlanName;
- /**
- * 每日预算上限
- */
- private Integer openaiDailyLimit;
- /**
- * 每月预算上限
- */
- private Integer openaiQuota;
- /**
- * 是否禁止奈飞检测
- */
- private Boolean isBannedCheck;
- /**
- * 是否开启订阅提醒
- */
- private Boolean isSubscribeAlert;
- /**
- * 用户订阅状态
- * true 已开启
- */
- @DbIgnore
- private Boolean userSubscribeStatus = false;
- }
|