first commit
This commit is contained in:
@@ -0,0 +1,24 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\Verifikator;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class BeritaAcaraFile extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
|
||||
protected $table = 'verifikator.berita_acara_files';
|
||||
protected $guarded = [];
|
||||
|
||||
public function unitKerja()
|
||||
{
|
||||
return $this->belongsTo(UnitKerja::class, 'unit_id', 'id');
|
||||
}
|
||||
|
||||
public function team()
|
||||
{
|
||||
return $this->belongsTo(Team::class, 'team_id', 'id');
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user