25 lines
493 B
PHP
25 lines
493 B
PHP
<?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');
|
|
}
|
|
}
|