| 1234567891011121314151617181920212223242526272829303132 |
- <?php
- namespace ghs\models\lakala;
- use ghs\models\BaseForm;
- /**
- * 拉卡拉 OCR 结果查询表单模型
- */
- class OcrResultForm extends BaseForm
- {
- public $id;
- public $batchNo;
- public $imgType;
- public function rules()
- {
- return [
- [['id', 'batchNo', 'imgType'], 'required', 'message' => '请填写{attribute}'],
- ['id', 'integer', 'min' => 1, 'message' => '申请ID格式错误', 'tooSmall' => '申请ID格式错误'],
- [['batchNo', 'imgType'], 'string', 'max' => 64],
- ];
- }
- public function attributeLabels()
- {
- return [
- 'id' => '申请ID',
- 'batchNo' => '批次号',
- 'imgType' => '图片类型',
- ];
- }
- }
|