Blame view
app/Models/Like_worker.php
429 Bytes
5725a3636 Обновление понеде... |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 |
<?php namespace App\Models; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; class Like_worker extends Model { use HasFactory; public $table = 'like_worker'; public $fillable = [ 'code_record', 'ip_address' ]; /* один-ко-многим */ public function worker() { return $this->hasMany(Worker::class); } } |