<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class DataTransOperasional
 * 
 * @property string $trans_id
 * @property int $sumber
 * @property string $akun_sumber
 * @property int $jenis
 * @property string $akun_tujuan
 * @property int $nominal
 * @property Carbon $trans_tglbuku
 * @property Carbon $trans_date
 * @property string|null $trans_catatan
 * @property string $user
 * @property int $status
 * @property string|null $rekening
 *
 * @package App\Models
 */
class DataTransOperasional extends Model
{
	protected $table = 'data_trans_operasional';
	protected $primaryKey = 'trans_id';
	public $incrementing = false;
	public $timestamps = false;

	protected $casts = [
		'sumber' => 'int',
		'jenis' => 'int',
		'nominal' => 'int',
		'trans_tglbuku' => 'datetime',
		'trans_date' => 'datetime',
		'status' => 'int'
	];

	protected $fillable = [
		'sumber',
		'akun_sumber',
		'jenis',
		'akun_tujuan',
		'nominal',
		'trans_tglbuku',
		'trans_date',
		'trans_catatan',
		'user',
		'status',
		'rekening'
	];
}
