yanghui
2022-10-24 10df7e29b51d6a2efacc83d870856f57d97a9b66
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/vos/community/convenient/ConvenientMerchantVO.java
@@ -4,6 +4,8 @@
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 +23,7 @@
public class ConvenientMerchantVO {
    @ApiModelProperty("商家ID")
    @JsonSerialize(using = ToStringSerializer.class)
    private Long id;
    @ApiModelProperty("商家名称")
@@ -70,6 +73,18 @@
    @ApiModelProperty("月咨询量")
    private Integer monthConsultationVolume;
    @ApiModelProperty("日咨询量")
    private Integer dayConsultationVolume;
    @ApiModelProperty("总浏览量")
    private Integer viewNum;
    @ApiModelProperty("月浏览量")
    private Integer monthViewNum;
    @ApiModelProperty("日总浏览量")
    private Integer dayViewNum;
    @ApiModelProperty("商家绑定账户")
    private String account;
@@ -88,6 +103,9 @@
    @ApiModelProperty("服务类型id列表")
    private List<Long> serviceIds;
    @ApiModelProperty("该商家存有商品,最多返回两条")
    private List<ConvenientProductVO> productVOList;
    public void setPeriod(String period) {
        this.period = MerchantBusinessPeriod.valueOf(period);
    }