package com.search.supersearch.model;

import com.fasterxml.jackson.annotation.JsonProperty;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ApiModel(value = "数据实体")
public class PreviewInfo {

    @JsonProperty("file")
    @ApiModelProperty("文件信息")
    private FileInfo file;

    @JsonProperty("user")
    @ApiModelProperty("用户信息")
    private UserInfo userInfo;

    @JsonProperty("result")
    @ApiModelProperty("状态码标识")
    private Integer result;

    @JsonProperty("msg")
    @ApiModelProperty("错误信息")
    private String msg;
}
