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

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;

@Data
@EqualsAndHashCode(callSuper = false)
@ApiModel(value = "ByxMchApplicationsNoticeDTO", description = "商户开户通知DTO")
public class ByxMchApplicationsNoticeDTO {

    @ApiModelProperty(value = "时间")
    private String msgTime;

    @ApiModelProperty(value = "消息类型", required = true)
    @NotBlank
    private String msgType;

    @NotNull
    @ApiModelProperty(value = "消息内容", required = true)
    private String msgBody;

    private JSONObject msgBodyObject;

}
