package com.tzy.dto;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import lombok.Data;

import java.io.Serializable;
import java.util.List;


@Data
@JsonIgnoreProperties(ignoreUnknown = true)
public class LimitAmountConfig implements Serializable {
    //新用户限制额度,负数
    private int newUserAmount;
    private int newUserDayAmount;
    private int newUserWeekAmount;
    private List<MemberAmount> memberAmount;

    @JsonIgnoreProperties(ignoreUnknown = true)
    @Data
    public static class MemberAmount implements Serializable {
        private int member;
        //月限额
        private int amount;
        //日提醒
        private int dailyLimit;
        //周提醒
        private int weeklyLimit;
    }
}
