<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class Income
 * 
 * @property int $income_no
 * @property int|null $cus_id
 * @property string|null $payment_type
 * @property string $reason
 * @property string|null $comment
 * @property float $amount
 * @property string|null $inv_no
 * @property Carbon $added_date
 * @property Carbon $added_time
 * @property int $added_by
 * @property string|null $company_no
 *
 * @package App\Models
 */
class Income extends Model
{
	protected $table = 'income';
	protected $primaryKey = 'income_no';
	public $timestamps = false;

	protected $casts = [
		'cus_id' => 'int',
		'amount' => 'float',
		'added_date' => 'datetime',
		'added_time' => 'datetime',
		'added_by' => 'int'
	];

	protected $fillable = [
		'cus_id',
		'payment_type',
		'reason',
		'comment',
		'amount',
		'inv_no',
		'added_date',
		'added_time',
		'added_by',
		'company_no'
	];
}
