From e8e342cd6c1334f1b8f71d24baa3157637a9ac43 Mon Sep 17 00:00:00 2001
From: admin <weikou2014>
Date: 星期四, 04 二月 2021 19:33:26 +0800
Subject: [PATCH] 完善PPTV

---
 src/main/java/com/yeshi/buwan/domain/vip/VIPPrice.java |   87 ++++++++++++++++++++++++++++++++++++++-----
 1 files changed, 77 insertions(+), 10 deletions(-)

diff --git a/src/main/java/com/yeshi/buwan/domain/vip/VIPPrice.java b/src/main/java/com/yeshi/buwan/domain/vip/VIPPrice.java
index c793f26..e790ff0 100644
--- a/src/main/java/com/yeshi/buwan/domain/vip/VIPPrice.java
+++ b/src/main/java/com/yeshi/buwan/domain/vip/VIPPrice.java
@@ -1,5 +1,6 @@
 package com.yeshi.buwan.domain.vip;
 
+import com.google.gson.annotations.Expose;
 import org.springframework.data.mongodb.core.mapping.Document;
 
 import java.math.BigDecimal;
@@ -7,20 +8,86 @@
 
 @Document(collection = "vipPrice")
 public class VIPPrice {
-    public enum VIPPriceType {
-        week("鍛ㄤ細鍛�"), month("鍖呮湀"), season("鍖呭"), year("鍖呭勾");
-
-        private String name;
-
-        private VIPPriceType(String name) {
-            this.name = name;
-        }
-    }
-
+    @Expose
     private String id;
+    @Expose
     private VIPPriceType type;
+    @Expose
     private BigDecimal price;
     private Date createTime;
     private Date updateTime;
 
+    //PPTV鐨剉ip鍟嗗搧绫诲瀷
+    private String pptvGoodsNo;
+    private Boolean show;
+
+    //鎺掑簭鍊�
+    private Integer order;
+
+
+    public Boolean getShow() {
+        return show;
+    }
+
+    public void setShow(Boolean show) {
+        this.show = show;
+    }
+
+
+
+    public String getId() {
+        return id;
+    }
+
+    public void setId(String id) {
+        this.id = id;
+    }
+
+    public VIPPriceType getType() {
+        return type;
+    }
+
+    public void setType(VIPPriceType type) {
+        this.type = type;
+    }
+
+    public BigDecimal getPrice() {
+        return price;
+    }
+
+    public void setPrice(BigDecimal price) {
+        this.price = price;
+    }
+
+    public Date getCreateTime() {
+        return createTime;
+    }
+
+    public void setCreateTime(Date createTime) {
+        this.createTime = createTime;
+    }
+
+    public Date getUpdateTime() {
+        return updateTime;
+    }
+
+    public void setUpdateTime(Date updateTime) {
+        this.updateTime = updateTime;
+    }
+
+    public Integer getOrder() {
+        return order;
+    }
+
+    public void setOrder(Integer order) {
+        this.order = order;
+    }
+
+    public String getPptvGoodsNo() {
+        return pptvGoodsNo;
+    }
+
+    public void setPptvGoodsNo(String pptvGoodsNo) {
+        this.pptvGoodsNo = pptvGoodsNo;
+    }
 }

--
Gitblit v1.8.0