<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Carbon\Carbon;
use Illuminate\Database\Eloquent\Model;

/**
 * Class DataKreditPersetujuan
 * 
 * @property int $id
 * @property int $komite_id
 * @property string|null $rekening
 * @property string $proposal_id
 * @property int $pegawai_id
 * @property int $level
 * @property int $persetujuan
 * @property Carbon $tanggal
 * @property string $keterangan
 *
 * @package App\Models
 */
class DataKreditPersetujuan extends Model
{
	protected $table = 'data_kredit_persetujuan';
	public $timestamps = false;

	protected $casts = [
		'komite_id' => 'int',
		'pegawai_id' => 'int',
		'level' => 'int',
		'persetujuan' => 'int',
		'tanggal' => 'datetime'
	];

	protected $fillable = [
		'komite_id',
		'rekening',
		'proposal_id',
		'pegawai_id',
		'level',
		'persetujuan',
		'tanggal',
		'keterangan'
	];
}
