package com.esv.freight.file.module.ocr.form;

import lombok.Data;
import org.hibernate.validator.constraints.Length;

import javax.validation.constraints.NotBlank;

/**
 * @description:
 * @project: freight-file-service
 * @name: com.esv.freight.file.module.ocr.form.IdCardForm
 * @author: 黄朝斌
 * @email: huangchaobin@esvtek.com
 * @createTime: 2020/04/15 10:08
 * @version:1.0
 */
@Data
public class IdCardForm {

    @NotBlank(message = "参数image不能为空")
    private String image;

    @Length(max = 50, message = "参数fileName长度不合法")
    private String fileName;

    private boolean needFileInfo;
}
