<?php

namespace App\Models;

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

class Daftar extends Model
{
    use HasFactory, HasUuids;

    protected $table = 'Daftar';

    protected $primaryKey = 'DaftarID';
    protected $keyType = 'string';
    public $incrementing = false;

    protected $fillable = [
        'NamaPerusahaan',
        'Email',
        'Password',
        'Status',
    ];

    protected $hidden = [
        'Password',
    ];

    protected $casts = [
        'created_at' => 'datetime',
        'updated_at' => 'datetime',
    ];
}
