diff --git a/app/Models/OrderAgreement.php b/app/Models/OrderAgreement.php new file mode 100755 index 0000000..305e24a --- /dev/null +++ b/app/Models/OrderAgreement.php @@ -0,0 +1,8 @@ +id(); + $table->integer('order_id')->nullable()->comment('订单id'); + $table->integer('paramedic_id')->nullable()->comment('护工id'); + // 护工签名图片 + $table->string('paramedic_sign_id')->nullable()->comment('护工签名图片'); + // 客户id + $table->integer('customer_id')->nullable()->comment('客户id'); + // 客户签名图片 + $table->string('customer_sign_id')->nullable()->comment('客户签名图片'); + // 文件id + $table->integer('file_id')->nullable()->comment('文件id'); + $table->timestamps(); + $table->softDeletes(); + }); + } + + /** + * Reverse the migrations. + * + * @return void + */ + public function down() + { + Schema::dropIfExists('adverse'); + } +}