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; } }