mitao
2025-03-14 08f1b1f1804a8bd833d42f257908d80e88387b55
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;
    }
}