id(); $table->bigInteger('employee_id'); $table->tinyInteger('social_type')->comment('类型'); $table->decimal('base_price')->default(0)->comment('缴费基数'); $table->decimal('personal_rate',4,2)->default(0)->comment('个人比例'); $table->decimal('unit_rate',4,2)->default(0)->comment('单位比例'); $table->decimal('personal_price')->default(0)->comment('个人缴费'); $table->decimal('unit_price')->default(0)->comment('单位缴费'); $table->timestamps(); }); } /** * Reverse the migrations. * * @return void */ public function down() { Schema::dropIfExists('uc_employee_social_items_t'); } }