<?php

namespace App;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;

class Bimbingan extends Model
{
    use SoftDeletes;

    public $table = 'bimbingans';

    protected $dates = [
        'created_at',
        'updated_at',
        'deleted_at',
    ];

    protected $fillable = [
        'nama_id',
        'created_at',
        'updated_at',
        'deleted_at',
        'no_register',
    ];

    public function nama()
    {
        return $this->belongsTo(IdentitasKlien::class, 'nama_id');
    }
}
