first commit

This commit is contained in:
brusnitsyn
2026-01-04 23:15:06 +09:00
commit 0ec04cfb4b
104 changed files with 19072 additions and 0 deletions

23
app/Models/Lpu.php Normal file
View File

@@ -0,0 +1,23 @@
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Lpu extends Model
{
protected $table = 'oms_lpu';
protected $primaryKey = 'lpuid';
public $timestamps = false;
protected $fillable = [
'mname_s',
'mainlpuid'
];
public function department(): \Illuminate\Database\Eloquent\Relations\HasMany
{
return $this->hasMany(Department::class, 'lpuid', 'rf_lpuid');
}
}