id(); $table->bigInteger('model_id')->default(0)->comment('车型'); $table->string('car_no',50)->unique()->comment('车牌号'); $table->string('frame_no',100)->unique()->comment('车架号'); $table->string('engine_no',50)->default('')->comment('发动机号'); $table->string('factory_model',50)->default('')->comment('厂牌型号'); $table->string('car_used_type',100)->default('')->comment('车辆使用性质'); $table->string('car_man',100)->default('')->comment('车主姓名'); $table->string('purchase_price',50)->default('')->comment('新车购置价'); $table->string('register_date',50)->default('')->comment('初登日期'); $table->string('seat_count',10)->default('')->comment('座位数'); $table->tinyInteger('insurance_times')->default(0)->comment('投保次数'); $table->tinyInteger('insurance_serial_times')->default(0)->comment('连续投保次数'); $table->tinyInteger('repair_times')->default(0)->comment('维修次数'); $table->tinyInteger('insurance_repair_times')->default(0)->comment('回修次数'); $table->string('last_insurance_company',10)->default('')->comment('上年承保公司'); $table->string('last_insurance_type',10)->default('')->comment('上年承保险种'); $table->tinyInteger('last_insurance_rate')->default(100)->comment('上年保险折扣率'); $table->string('last_insurance_salesman',10)->default('')->comment('上年保险业务'); $table->string('last_insurance_date',10)->default('')->comment('上年正本日期'); $table->string('force_expire_date',10)->default('')->comment('交强到期日期'); $table->string('business_expire_date',10)->default('')->comment('商业到期日期'); $table->tinyInteger('status')->default(1)->comment('数据状态'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('uc_car_info_t'); } }