mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/unity.git
synced 2026-08-19 12:24:01 +00:00
5cb7596c6c
Repair Service
43 lines
1.1 KiB
PHP
43 lines
1.1 KiB
PHP
<?php
|
|
|
|
namespace Database\Seeders\RepairService;
|
|
|
|
use Illuminate\Database\Seeder;
|
|
use Illuminate\Support\Str;
|
|
use Illuminate\Support\Facades\DB;
|
|
|
|
class RepairServiceContractEntitiesTableSeeder extends Seeder
|
|
{
|
|
/**
|
|
* Run the database seeds.
|
|
*
|
|
* @return void
|
|
*/
|
|
public function run()
|
|
{
|
|
DB::table('contract_entities')->insert([
|
|
[
|
|
'id' => 3,
|
|
'user_id' => 3,
|
|
'contract_id' =>2,
|
|
'entity_id' => 3,
|
|
'entity_signature_id' => 3,
|
|
'type' => 1,
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
[
|
|
'id' => 4,
|
|
'user_id' => 4,
|
|
'contract_id' => 2,
|
|
'entity_id' => 4,
|
|
'entity_signature_id' =>4,
|
|
'type' => 1,
|
|
'status' => 1,
|
|
'created_at' => date('Y-m-d H:i:s'),
|
|
'updated_at' => date('Y-m-d H:i:s')
|
|
],
|
|
]);
|
|
}
|
|
} |