lidongdong
2023-11-14 ce4a770744d7a0b4e4ea3b5101556b94e72bdf1c
springcloud_k8s_panzhihuazhihuishequ/common/src/main/java/com/panzhihua/common/model/dtos/community/convenient/ConvenientProductDTO.java
@@ -55,4 +55,12 @@
    @ApiModelProperty(value = "所属商家", hidden = true)
    private Long merchantId;
    public Boolean getOnShelf() {
        return onShelf.intValue() == 1;
    }
    public void setOnShelf(Boolean onShelf) {
        this.onShelf = onShelf ? 1 : 0;
    }
}