package com.hotwj.platform.integration.ocr;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

@Data
@Component
@ConfigurationProperties(prefix = "ext.ocr")
public class OcrProperties {
    /**
     * 默认OCR提供商: baidu, aliyun
     */
    private String provider = "baidu";

    /**
     * 身份证识别提供商
     */
    private String idCardProvider;

    /**
     * 驾驶证识别提供商
     */
    private String drivingLicenseProvider;

    /**
     * 行驶证识别提供商
     */
    private String vehicleLicenseProvider;

    /**
     * 营业执照识别提供商
     */
    private String businessLicenseProvider;
}