<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;
use Illuminate\Database\Eloquent\SoftDeletes;
class OrangTua extends Model
{
 	use SoftDeletes;
    protected $table = 't_orangtua';
    protected $dates = ['deleted_at'];
    /**
    * The database primary key value.
    *
    * @var string
    */
    protected $primaryKey = 'id';

    public function pendaftar(){
        return $this->belongsTo('App\Models\Pendaftar','id_pendaftar');
    }   
}
