<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class DataLabaRugi extends Model
{
	protected $table = 'data_akuntansi_labarugi';
	public $timestamps = false;

	protected $casts = [
		'saldo' => 'float',
		'tanggal' => 'datetime'
	];

	protected $fillable = [
		'akun',
		'saldo',
		'tanggal'
	];

	public function ref_akun()
	{
		return $this->belongsTo(TableAkun::class, 'akun');
	}
}
