From 19f39f95190ae02a90b07c97bc9e5cb54de383a4 Mon Sep 17 00:00:00 2001
From: 101captain <237651143@qq.com>
Date: 星期四, 19 五月 2022 10:48:21 +0800
Subject: [PATCH] 花城E+bug更新
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientProductVO.java | 15 +++++++++++++--
1 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientProductVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientProductVO.java
index 478bc1a..b4711ed 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientProductVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientProductVO.java
@@ -1,10 +1,11 @@
package com.panzhihua.common.model.vos.community.convenient;
+import java.util.Date;
+import java.util.List;
+
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
-
-import java.util.List;
/**
* @title: ConvenientProductVO
@@ -43,4 +44,14 @@
@ApiModelProperty("上架状态,1.上架 0.下架")
private Integer onShelf;
+
+ @ApiModelProperty("上架时间")
+ private Date onShelfAt;
+
+ @ApiModelProperty("浏览量")
+ private Integer viewNum;
+
+ public void setOnShelf(Boolean onShelf) {
+ this.onShelf = onShelf ? 1 : 0;
+ }
}
--
Gitblit v1.7.1