package com.yn.bftl.thirdparty.modules.chinaums.dto;

import com.alibaba.fastjson.JSONObject;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.NotNull;

/**
 * 二级商户进件通知DTO
 *
 * @author huabiao
 * @create 2022/12/8  14:49
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "MchCreateNoticeDTO", description = "二级商户进件通知DTO")
public class MchApplicationsNoticeDTO {

    @ApiModelProperty(value = "事件ID")
    private String eventId;

    @ApiModelProperty(value = "事件类型", required = true)
    @NotBlank
    private String eventType;

    @ApiModelProperty(value = "事件创建时间")
    private String createdAt;

    @ApiModelProperty(value = "事件内容", required = true)
    @NotNull
    private JSONObject eventData;
}
