|
|
|
@ -18,7 +18,7 @@ use Yii; |
|
|
|
|
* @property string $insurer1_date |
|
|
|
|
* @property string $insurer2_date |
|
|
|
|
* @property string $id_man |
|
|
|
|
* @property string $id_number |
|
|
|
|
* @property string $id_man_number |
|
|
|
|
* @property string $engine_no |
|
|
|
|
* @property string $car_frame_no |
|
|
|
|
* @property integer $seats |
|
|
|
@ -34,10 +34,11 @@ use Yii; |
|
|
|
|
* @property string $company |
|
|
|
|
* @property string $op_user1 |
|
|
|
|
* @property string $op_user2 |
|
|
|
|
* @property string $op_user3 |
|
|
|
|
* @property string $from_src |
|
|
|
|
* @property string $created_at |
|
|
|
|
* @property string $updated_at |
|
|
|
|
* @property integer $op1_id |
|
|
|
|
* @property integer $op2_id |
|
|
|
|
*/ |
|
|
|
|
class CarT extends \common\models\Base |
|
|
|
|
{ |
|
|
|
@ -57,10 +58,9 @@ class CarT extends \common\models\Base |
|
|
|
|
return [ |
|
|
|
|
[['user_id'], 'required'], |
|
|
|
|
[['user_id', 'car_type_id', 'car_use_id','seats','location','op1_id', 'op2_id'], 'integer'], |
|
|
|
|
[['register_date', 'insurer1_date', 'insurer2_date','id_man','id_number','print_date','car_man_number', 'created_at', 'updated_at'], 'safe'], |
|
|
|
|
[['register_date', 'insurer1_date', 'insurer2_date','id_man','id_man_number','print_date','car_man_number', 'created_at', 'updated_at'], 'safe'], |
|
|
|
|
[['car_no', 'factory_model', 'car_model', 'engine_no', 'car_frame_no','id_man_phone'], 'string', 'max' => 50], |
|
|
|
|
[['car_year'], 'string', 'max' => 10], |
|
|
|
|
[['car_man','car_man_phone','remark','company','op_user1','op_user2','weixin','from_src'], 'string', 'max' => 200], |
|
|
|
|
[['car_man','car_man_phone','remark','company','op_user1','op_user2','from_src'], 'string', 'max' => 200], |
|
|
|
|
]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
@ -81,7 +81,7 @@ class CarT extends \common\models\Base |
|
|
|
|
'insurer1_date' => 'Insurer 1 Date', |
|
|
|
|
'insurer2_date' => 'Insurer 2 Date', |
|
|
|
|
'id_man' => 'ID Man', |
|
|
|
|
'id_number' => 'ID Number', |
|
|
|
|
'id_man_number' => 'ID Number', |
|
|
|
|
'engine_no' => 'Engine No', |
|
|
|
|
'car_frame_no' => 'Car Frame No', |
|
|
|
|
'seats' => 'Seats', |
|
|
|
|