Sfoglia il codice sorgente

正品联盟商品详情

Aslee 4 anni fa
parent
commit
101dc9e7d9

+ 24 - 0
base-module/src/main/java/com/caimei/module/base/entity/po/CmBrandAuthProductPo.java

@@ -0,0 +1,24 @@
+package com.caimei.module.base.entity.po;
+
+import lombok.Data;
+
+import java.util.Date;
+
+/**
+ * @author Aslee
+ */
+@Data
+public class CmBrandAuthProductPo {
+    /**
+     * 商品名称
+     */
+    private String name;
+    /**
+     * 商品SN码
+     */
+    private String snCode;
+    /**
+     * 商品图片
+     */
+    private String image;
+}

+ 18 - 0
base-module/src/main/java/com/caimei/module/base/entity/po/CmBrandProductParamPo.java

@@ -0,0 +1,18 @@
+package com.caimei.module.base.entity.po;
+
+import lombok.Data;
+
+/**
+ * @author Aslee
+ */
+@Data
+public class CmBrandProductParamPo {
+    /**
+     * 商品参数名称
+     */
+    private String name;
+    /**
+     * 商品参数内容
+     */
+    private String content;
+}

+ 59 - 0
base-module/src/main/java/com/caimei/module/base/entity/vo/AuthProductVo.java

@@ -0,0 +1,59 @@
+package com.caimei.module.base.entity.vo;
+
+import com.caimei.module.base.entity.po.CmBrandAuthProductPo;
+import com.caimei.module.base.entity.po.CmBrandProductParamPo;
+import lombok.Data;
+
+import java.util.List;
+
+/**
+ * @author Aslee
+ */
+@Data
+public class AuthProductVo extends CmBrandAuthProductPo {
+
+    /**
+     * 品牌授权logo
+     */
+    private String authLogo;
+    /**
+     * 品牌名称
+     */
+    private String brandName;
+    /**
+     * 产地
+     */
+    private String productionPlace;
+    /**
+     * 防伪链接
+     */
+    private String securityLink;
+    /**
+     * 代理标识:0无代理,1有代理
+     */
+    private Integer agentFlag;
+    /**
+     * 代理商名称
+     */
+    private String agentName;
+    /**
+     * 声明类型:1弹窗声明,2链接声明
+     */
+    private Integer statementType;
+    /**
+     * 声明弹窗内容
+     */
+    private String statementContent;
+    /**
+     * 声明链接
+     */
+    private String statementLink;
+    /**
+     * 被授权方
+     */
+    private String authParty;
+    /**
+     * 商品参数
+     */
+    private List<CmBrandProductParamPo> paramList;
+}