From ed10240b000a5b831da84d921320883a2fbb22dc Mon Sep 17 00:00:00 2001 From: zengchaoxin Date: Thu, 31 Oct 2019 00:16:05 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B8=85=E9=99=A4=E5=A4=9A=E4=BD=99=E5=AD=97?= =?UTF-8?q?=E6=AE=B5?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- common/models/CarT.php | 14 ++++---------- 1 file changed, 4 insertions(+), 10 deletions(-) diff --git a/common/models/CarT.php b/common/models/CarT.php index f10c817..e75befb 100644 --- a/common/models/CarT.php +++ b/common/models/CarT.php @@ -24,11 +24,8 @@ use Yii; * @property integer $seats * @property string $car_man * @property string $car_man_phone - * @property string $weixin * @property string $remark * @property integer $location - * @property integer $invalid_flag - * @property integer $invalid_id * @property string $print_date * @property string $car_man_number * @property integer $is_track @@ -59,11 +56,11 @@ class CarT extends \common\models\Base { return [ [['user_id'], 'required'], - [['user_id', 'car_type_id', 'car_use_id','seats','location','invalid_id','invalid_flag','is_track','times','biaozhu','hiddenes'], 'integer'], + [['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'], - [['car_no', 'factory_model', 'car_model', 'engine_no', 'car_frame_no','old_user','phone1','id_phone'], 'string', 'max' => 50], + [['car_no', 'factory_model', 'car_model', 'engine_no', 'car_frame_no','id_man_phone'], 'string', 'max' => 50], [['car_year'], 'string', 'max' => 10], - [['car_man','phone','remark','company','op_user1','op_user2','op_user3','weixin','from_src'], 'string', 'max' => 200], + [['car_man','car_man_phone','remark','company','op_user1','op_user2','weixin','from_src'], 'string', 'max' => 200], ]; } @@ -89,12 +86,9 @@ class CarT extends \common\models\Base 'car_frame_no' => 'Car Frame No', 'seats' => 'Seats', 'car_man' => 'Car Man', - 'phone' => 'Phone', - 'weixin' => 'Weixin', + 'car_man_phone' => 'Phone', 'remark' => 'Remark', 'location' => 'Location', - 'invalid_flag' => 'Invalid Flag', - 'invalid_id' => 'Invalid ID', 'print_date' => 'Print Date', 'car_man_number' => 'Car Man Number', 'is_track' => 'Is Track',