清除多余字段

dev
曾超新 5 years ago
parent d703b7c4b5
commit ed10240b00
  1. 14
      common/models/CarT.php

@ -24,11 +24,8 @@ use Yii;
* @property integer $seats * @property integer $seats
* @property string $car_man * @property string $car_man
* @property string $car_man_phone * @property string $car_man_phone
* @property string $weixin
* @property string $remark * @property string $remark
* @property integer $location * @property integer $location
* @property integer $invalid_flag
* @property integer $invalid_id
* @property string $print_date * @property string $print_date
* @property string $car_man_number * @property string $car_man_number
* @property integer $is_track * @property integer $is_track
@ -59,11 +56,11 @@ class CarT extends \common\models\Base
{ {
return [ return [
[['user_id'], 'required'], [['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'], [['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_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', 'car_frame_no' => 'Car Frame No',
'seats' => 'Seats', 'seats' => 'Seats',
'car_man' => 'Car Man', 'car_man' => 'Car Man',
'phone' => 'Phone', 'car_man_phone' => 'Phone',
'weixin' => 'Weixin',
'remark' => 'Remark', 'remark' => 'Remark',
'location' => 'Location', 'location' => 'Location',
'invalid_flag' => 'Invalid Flag',
'invalid_id' => 'Invalid ID',
'print_date' => 'Print Date', 'print_date' => 'Print Date',
'car_man_number' => 'Car Man Number', 'car_man_number' => 'Car Man Number',
'is_track' => 'Is Track', 'is_track' => 'Is Track',

Loading…
Cancel
Save