class KanjiaActivityGoodsVO {

    @ApiModelProperty(value = "商品规格详细信息")
    private GoodsSku goodsSku;

    @ApiModelProperty(value = "最低购买金额")
    private Double purchasePrice;

    public Double getPurchasePrice() {<FILL_FUNCTION_BODY>}

    @ApiModelProperty(value = "活动库存")
    private Integer stock;

}

        if (purchasePrice < 0) {
            return 0D;
        }
        return purchasePrice;
    
<no_super_class>