<?php

namespace App\Models\OLDLMS;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class UserDetail 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_users_detail';

    protected $fillable = [
        'nIDUser',
        'dTanggalLahir',
        'dCreateOn',
        'sMartialStatus',
        'nIDJenisKelamin',
        'sCreateBy',
        'sKTP',
        'sImages',
        'sWeight',
        'sHeight',
        'nIDGolonganDarah',

    ];

}
