|
|
@@ -0,0 +1,96 @@
|
|
|
+package com.cyksj.model.views;
|
|
|
+
|
|
|
+import com.ejlchina.searcher.bean.DbField;
|
|
|
+import com.ejlchina.searcher.bean.DbIgnore;
|
|
|
+import com.ejlchina.searcher.bean.SearchBean;
|
|
|
+import lombok.Getter;
|
|
|
+import lombok.Setter;
|
|
|
+
|
|
|
+import java.math.BigDecimal;
|
|
|
+import java.util.List;
|
|
|
+
|
|
|
+/*
|
|
|
+ *项目名: netflix
|
|
|
+ *文件名: GoodsDonSkuFrontView
|
|
|
+ *创建者: JavaZou
|
|
|
+ *创建时间:2023/4/6 17:58
|
|
|
+ */
|
|
|
+@Getter
|
|
|
+@Setter
|
|
|
+@SearchBean(tables = "goods_don_sku")
|
|
|
+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;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 商品预览图
|
|
|
+ */
|
|
|
+ private String picture;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 商品详情图
|
|
|
+ */
|
|
|
+ private String detail;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 标签
|
|
|
+ */
|
|
|
+ private String tags;
|
|
|
+
|
|
|
+
|
|
|
+ /**
|
|
|
+ * true 上架 / false 下架
|
|
|
+ */
|
|
|
+ private Boolean status;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 价格
|
|
|
+ */
|
|
|
+ private BigDecimal price;
|
|
|
+
|
|
|
+ /**
|
|
|
+ * 月数
|
|
|
+ */
|
|
|
+ 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;
|
|
|
+}
|