update
This commit is contained in:
25
app/Models/OLDLMS/Relationship.php
Executable file
25
app/Models/OLDLMS/Relationship.php
Executable file
@@ -0,0 +1,25 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models\OLDLMS;
|
||||
|
||||
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Relationship extends Model
|
||||
{
|
||||
use HasFactory;
|
||||
|
||||
const CREATED_AT = 'dCreateOn';
|
||||
const UPDATED_AT = 'dUpdateOn';
|
||||
const DELETED_AT = 'dDeleteOn';
|
||||
|
||||
protected $connection = 'oldlms';
|
||||
protected $primaryKey = 'nID';
|
||||
|
||||
protected $table = 'tm_hubungan_keluarga';
|
||||
protected $fillable = [
|
||||
'nID',
|
||||
'sHubunganKeluarga'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user