20 lines
433 B
PHP
20 lines
433 B
PHP
<?php
|
|
|
|
namespace App\Models\Verifikator;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class LimitPenunjang extends Model
|
|
{
|
|
use HasFactory;
|
|
|
|
protected $table = 'verifikator.limit_penunjangs';
|
|
protected $fillable = ['kategori_rubrik_id', 'limit'];
|
|
|
|
function kategori()
|
|
{
|
|
return $this->belongsTo(KategoriRubrik::class, 'kategori_rubrik_id', 'id');
|
|
}
|
|
}
|