package com.jeequan.jeepay.core.entity;

import com.alibaba.fastjson.JSONObject;
import lombok.Data;

import java.math.BigDecimal;
import java.util.List;

/**
 * TODO
 * 账户提醒规则
 * @author crystal
 * @date 2023/12/18 10:56
 */
@Data
public class AccountRuleExt {

    /**
     * 邮箱
     */
    public static final String EMAIL = "email";

    /**
     * 手机短信
     */
    public static final String PHONE = "phone";

    /**
     * 站内信
     */
    public static final String MAIL = "mail";
    /**
     * 金额
     */
    private BigDecimal amount;

    /**
     * 提醒频率 6 / 12 /24
     */
    private Integer interval;

    /**
     * 类型
     */
    private List<String> typeList;

    /**
     * 接收人信息
     */
    private List<JSONObject> receiveList;
}
