<?php

namespace App\Models\OLDLMS;

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

class UserInsurance extends Model
{
    use HasFactory;

    const CREATED_AT = 'dCreateOn';
    const UPDATED_AT = 'dUpdateOn';
    const DELETED_AT = 'dDeleteOn';

    protected $connection = 'oldlms';
    protected $primaryKey = 'nIDUser';

    protected $table = 'tm_users_insurance';
    protected $fillable = [
        'nIDUser',
        'sNamaPeserta',
        'dStartDate',
        'dExpireDate',
        'dTanggalLahir',
        'nNoKTP',
        'sNoPolis',
        'nIDInsurance',
        'sLayanan',
    ];
}
