From 10df7e29b51d6a2efacc83d870856f57d97a9b66 Mon Sep 17 00:00:00 2001
From: yanghui <2536613402@qq.com>
Date: 星期一, 24 十月 2022 13:48:24 +0800
Subject: [PATCH] #feat 修改别名
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientProductVO.java | 18 ++++++++++++++++--
1 files changed, 16 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 bdddd11..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
@@ -32,6 +33,9 @@
@ApiModelProperty("所属分类")
private Long categoryId;
+ @ApiModelProperty("所属商家")
+ private Long merchantId;
+
@ApiModelProperty("所属分类名称")
private String categoryName;
@@ -40,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