<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\Relations\BelongsTo;

class RingkasanAnsuran extends Model
{
    protected $table = 'ringkasan_ansuran';
    protected $primaryKey = 'ans_id';

    public function main(): BelongsTo
    {
        return $this->belongsTo(RingkasanMain::class, 'ans_id', 'ans_id');
    }
    
    public $timestamps = false;

}