All Downloads are FREE. Search and download functionalities are using the official Maven repository.

com.aiwiown.face.domain.orc.OCRBankCardModel Maven / Gradle / Ivy

There is a newer version: 3.0.9
Show newest version
package com.aiwiown.face.domain.orc;

import com.aiwiown.face.ApiObject;
import com.aiwiown.face.internal.mapping.ApiField;

import java.io.File;

/**
 * @ClassName : OcrBankCardV1Card
 * @Description : 银行卡
 * @Author : dbin0123
 * @Date: 2020年4月13日10:19:09
 */
public class OCRBankCardModel extends ApiObject {

    private static final long serialVersionUID = -6911931193476403779L;

    /**
     * 图片的URL
     */
    @ApiField("image_url")
    private String imageUrl;

    /**
     * 图片文件
     */
    @ApiField(value = "image_file", isFile = true)
    private File imageFile;

    /**
     * 图片文件的bate数组
     */
    @ApiField("image_file")
    private byte[] byteFile;

    /**
     * base64编码的二进制图片数据
     */
    @ApiField("image_base64")
    private String imageBase64;

    public String getImageUrl() {
        return imageUrl;
    }

    public void setImageUrl(String imageUrl) {
        this.imageUrl = imageUrl;
    }

    public File getImageFile() {
        return imageFile;
    }

    public void setImageFile(File imageFile) {
        this.imageFile = imageFile;
    }

    public byte[] getByteFile() {
        return byteFile;
    }

    public void setByteFile(byte[] byteFile) {
        this.byteFile = byteFile;
    }

    public String getImageBase64() {
        return imageBase64;
    }

    public void setImageBase64(String imageBase64) {
        this.imageBase64 = imageBase64;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy