StakeholderBalanceByPayer.php 640 Bytes
<?php

namespace App\Models\Legal;

use App\Models\BaseModel;
use Illuminate\Database\Eloquent\Factories\HasFactory;

/**
 * Class StakeholderBalanceByPayer
 * @package App\Models\Legal
 */
class StakeholderBalanceByPayer extends BaseModel
{
    use HasFactory;

    /**
     * @var string
     */
    protected $table = 'stakeholder_balance_by_payer';

    /**
     * @var string[]
     */
    protected $hidden = ['created_at', 'updated_at'];

    /**
     * @return \Illuminate\Database\Eloquent\Relations\BelongsTo
     */
    public function subject()
    {
        return $this->belongsTo(Subject::class, 'subject_no', 'no');
    }
}