From 29e6855302b602f8dc3fac25c5e123d2646cf552 Mon Sep 17 00:00:00 2001
From: lidongdong <1459917685@qq.com>
Date: 星期三, 06 九月 2023 14:53:57 +0800
Subject: [PATCH] 新增社区商家模块系统配置
---
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientMerchantVO.java | 26 ++++++++++++++++++++++++--
1 files changed, 24 insertions(+), 2 deletions(-)
diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientMerchantVO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientMerchantVO.java
index 156f17f..162b304 100644
--- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientMerchantVO.java
+++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientMerchantVO.java
@@ -1,9 +1,12 @@
package com.panzhihua.common.model.vos.community.convenient;
+import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import com.fasterxml.jackson.annotation.JsonFormat;
+import com.fasterxml.jackson.databind.annotation.JsonSerialize;
+import com.fasterxml.jackson.databind.ser.std.ToStringSerializer;
import com.panzhihua.common.enums.MerchantBusinessPeriod;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
@@ -21,6 +24,7 @@
public class ConvenientMerchantVO {
@ApiModelProperty("商家ID")
+ @JsonSerialize(using = ToStringSerializer.class)
private Long id;
@ApiModelProperty("商家名称")
@@ -89,7 +93,7 @@
private Integer accountStatus;
@ApiModelProperty("所属社区id")
- private Long communityId;
+ private String communityId;
@ApiModelProperty("所属社区名称")
private String communityName;
@@ -98,11 +102,29 @@
private String serviceScope;
@ApiModelProperty("服务类型id列表")
- private List<Long> serviceIds;
+ private List<String> serviceIds;
@ApiModelProperty("该商家存有商品,最多返回两条")
private List<ConvenientProductVO> productVOList;
+ @ApiModelProperty("服务范围")
+ private Integer serviceRange;
+
+ @ApiModelProperty("手机号")
+ private String mobilePhone;
+
+ @ApiModelProperty("店铺销量")
+ private Integer sale;
+
+ @ApiModelProperty("店铺销售额")
+ private BigDecimal saleVolume;
+
+ @ApiModelProperty("详细地址")
+ private String detailedAddress;
+
+ @ApiModelProperty("商家评分")
+ private BigDecimal score;
+
public void setPeriod(String period) {
this.period = MerchantBusinessPeriod.valueOf(period);
}
--
Gitblit v1.7.1