19 lines
394 B
PHP
19 lines
394 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\HasMany;
|
|
|
|
class Harim extends Model
|
|
{
|
|
use HasFactory;
|
|
protected $guarded = [];
|
|
protected $table = 'harim';
|
|
|
|
public function histories(): HasMany
|
|
{
|
|
return $this->hasMany(HarimHistory::class);
|
|
}}
|