63 lines
1.6 KiB
PHP
63 lines
1.6 KiB
PHP
|
|
<?php
|
|||
|
|
|
|||
|
|
namespace common\modelsgii;
|
|||
|
|
|
|||
|
|
use Yii;
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* This is the model class for table "yii_doc_pha_imgs".
|
|||
|
|
*
|
|||
|
|
* @property int $id
|
|||
|
|
* @property string $id_image 身份证照片
|
|||
|
|
* @property string $work_license 工作照
|
|||
|
|
* @property string $qualification 工作资格证书
|
|||
|
|
* @property string $practicing_certificate 执业证书
|
|||
|
|
* @property string $title_certificate 职称证书
|
|||
|
|
* @property int $su_id 用户id
|
|||
|
|
* @property string $audit_status 0未审核,1已审核
|
|||
|
|
* @property int $created_at
|
|||
|
|
* @property int $updated_at
|
|||
|
|
*/
|
|||
|
|
class DocPhaImgs extends \common\core\BaseActiveRecord
|
|||
|
|
{
|
|||
|
|
/**
|
|||
|
|
* {@inheritdoc}
|
|||
|
|
*/
|
|||
|
|
public static function tableName()
|
|||
|
|
{
|
|||
|
|
return 'yii_doc_pha_imgs';
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* {@inheritdoc}
|
|||
|
|
*/
|
|||
|
|
public function rules()
|
|||
|
|
{
|
|||
|
|
return [
|
|||
|
|
[['su_id'], 'required'],
|
|||
|
|
[['su_id', 'created_at', 'updated_at'], 'integer'],
|
|||
|
|
[['audit_status'], 'string'],
|
|||
|
|
[['id_image', 'work_license', 'qualification', 'practicing_certificate', 'title_certificate'], 'string', 'max' => 160],
|
|||
|
|
];
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
/**
|
|||
|
|
* {@inheritdoc}
|
|||
|
|
*/
|
|||
|
|
public function attributeLabels()
|
|||
|
|
{
|
|||
|
|
return [
|
|||
|
|
'id' => 'ID',
|
|||
|
|
'id_image' => '身份证照片',
|
|||
|
|
'work_license' => '工作照',
|
|||
|
|
'qualification' => '工作资格证书',
|
|||
|
|
'practicing_certificate' => '执业证书',
|
|||
|
|
'title_certificate' => '职称证书',
|
|||
|
|
'su_id' => '用户id',
|
|||
|
|
'audit_status' => '0未审核,1已审核',
|
|||
|
|
'created_at' => 'Created At',
|
|||
|
|
'updated_at' => 'Updated At',
|
|||
|
|
];
|
|||
|
|
}
|
|||
|
|
}
|