sibanu_web/app/Models/Pengguna.php

20 lines
323 B
PHP
Raw Permalink Normal View History

2022-08-20 13:21:23 +07:00
<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Pengguna extends Model
{
/**
* The table associated with the model.
*
* @var string
*/
protected $table = 'tbl_pengguna';
public function divisi()
{
return $this->hasOne(Divisi::class,'id');
}
}