package com.njcn.gather.icd.mapping.pojo.param;

import com.fasterxml.jackson.annotation.JsonIgnore;
import com.fasterxml.jackson.databind.JsonNode;
import com.njcn.gather.icd.mapping.pojo.bo.icd.IcdDocument;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

/**
 * ICD 校验结果保存参数。
 */
@Data
@ApiModel("ICD校验结果保存参数")
public class IcdCheckResultSaveParam {

    @ApiModelProperty("MMS映射JSON")
    private String mappingJson;

    @ApiModelProperty("MMS映射XML")
    private String xml;

    @ApiModelProperty("校验结论：0-否，1-是")
    private Integer result;

    @ApiModelProperty("校验结论详情JSON")
    private JsonNode msg;

    @ApiModelProperty("getICD返回的icdDocument原始解析记录")
    private IcdDocument icdDocument;

    @ApiModelProperty("ICD文件二进制内容，仅 multipart 保存时由后端填充")
    @JsonIgnore
    private byte[] icdContent;
}
