package com.skr.mdm.bean.so.strategy;

import com.fasterxml.jackson.databind.annotation.JsonSerialize;
import com.skr.mdm.bean.util.DateConvertUtil;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Builder;
import lombok.Data;

import java.util.Date;

@Data
@Builder
@ApiModel(value = "交易告警下发对象")
public class StrategyWarnDealSO {

    private Integer id;
    @ApiModelProperty(value = "策略名称")
    private String strategyName;
    @ApiModelProperty(value = "单笔限额")
    private Integer singleLimit;
    @ApiModelProperty(value = "软件交易周期")
    private Integer appPeriod;
    @ApiModelProperty(value = "软件交易周期限额")
    private Integer appPeriodLimit;
    @ApiModelProperty(value = "短信交易周期")
    private Integer smsPeriod;
    @ApiModelProperty(value = "短信交易周期限额")
    private Integer smsPeriodLimit;
    @ApiModelProperty(value = "违规告警（0：否 1：是）")
    private Integer isWarning;
    @ApiModelProperty(value = "下发时间")
    @JsonSerialize(using = DateConvertUtil.class)
    private Date sendTime;
    @JsonSerialize(using = DateConvertUtil.class)
    @ApiModelProperty(value = "操作时间")
    private Date operateTime;
}
