package com.ytpm.risk.param;

import com.ytpm.general.BaseParam;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.NoArgsConstructor;

import java.util.List;

@EqualsAndHashCode(callSuper = true)
@ApiModel("易推风控配置表单")
@Data
@NoArgsConstructor
@AllArgsConstructor
public class RiskConfigParam extends BaseParam {
    @ApiModelProperty("风控配置列表")
    private List<RiskConfigListParam> configList;
    @ApiModelProperty(value = "关联的应用ID")
    private String appId;
    @ApiModelProperty(value = "风控配置模板ID")
    private String templateId;
    @ApiModelProperty(value = "风控配置模板名称")
    private String templateName;
    @ApiModelProperty(value = "风控配置模板内容")
    private String templateContent;
    @ApiModelProperty(value = "风控配置模板编码")
    private String templateCode;
    @ApiModelProperty(value = "渠道ID")
    private String channelId;
    @ApiModelProperty(value = "操作人")
    private String operator;
    @ApiModelProperty(value = "操作人名称")
    private String operatorName;
    @ApiModelProperty(value = "是否满足所有 1-全部 2-任意一条即可")
    private Integer allSatisfy;
    @ApiModelProperty(value = "业务节点")
    private Integer effectNode;
}
