class PointSetting implements Serializable {

    private static final long serialVersionUID = -4261856614779031745L;
    @ApiModelProperty(value = "注册")
    private Integer register;

    @ApiModelProperty(value = "消费1元赠送多少积分")
    private Integer consumer;

    @ApiModelProperty(value = "积分付款X积分=1元")
    private Integer money;

    @ApiModelProperty(value = "每日签到积分")
    private Integer signIn;

    @ApiModelProperty(value = "订单评价赠送积分")
    private Integer comment;

    @ApiModelProperty(value = "积分具体设置")
    private List<PointSettingItem> pointSettingItems = new ArrayList<>();

    public Integer getRegister() {
        if (register == null || register < 0) {
            return 0;
        }
        return register;
    }

    public Integer getMoney() {
        if (money == null || money < 0) {
            return 0;
        }
        return money;
    }

    public Integer getConsumer() {<FILL_FUNCTION_BODY>}

    public Integer getSignIn() {
        if (signIn == null || signIn < 0) {
            return 0;
        }
        return signIn;
    }

    public Integer getComment() {
        if (comment == null || comment < 0) {
            return 0;
        }
        return comment;
    }
}

        if (consumer == null || consumer < 0) {
            return 0;
        }
        return consumer;
    
<no_super_class>