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/dtos/community/convenient/ConvenientProductDTO.java | 11 +++++++++++ 1 files changed, 11 insertions(+), 0 deletions(-) diff --git a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientProductDTO.java b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientProductDTO.java index 4f0ea4c..7cf95ec 100644 --- a/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientProductDTO.java +++ b/springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientProductDTO.java @@ -52,4 +52,15 @@ @ApiModelProperty(value = "更新人", hidden = true) private Long updatedBy; + + @ApiModelProperty(value = "所属商家", hidden = true) + private Long merchantId; + + public Boolean getOnShelf() { + return onShelf.intValue() == 1; + } + + public void setOnShelf(Boolean onShelf) { + this.onShelf = onShelf ? 1 : 0; + } } \ No newline at end of file -- Gitblit v1.7.1