package org.springblade.thirdparty.ocr.pojo.dto;

import com.fasterxml.jackson.annotation.JsonInclude;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serial;
import java.io.Serializable;

/**
 * ocr单张识别参数
 * @author bfhuange
 * @date 2024/12/13
 */
@NoArgsConstructor
@AllArgsConstructor
@Data
public class OCRSingleDTO implements Serializable {
    @Serial
    private static final long serialVersionUID = 1L;
    /**
     *  图像本地路径或者远程服务器地址
     */
    @JsonProperty("img_path")
    private String imgPath;
    /**
     *  项目简称
     */
    @JsonInclude(JsonInclude.Include.NON_EMPTY)
    private String name;
}
