<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class CustomerReturn
 * 
 * @property int $cus_trn_no
 * @property Carbon $rtn_date
 * @property Carbon $rtn_time
 * @property int $cus_id
 * @property string|null $inv_no
 * @property string|null $cmp_no
 * @property string|null $desc
 *
 * @package App\Models
 */
class CustomerReturn extends Model
{
	protected $table = 'customer_returns';
	protected $primaryKey = 'cus_trn_no';
	public $timestamps = false;

	protected $casts = [
		'rtn_date' => 'datetime',
		'rtn_time' => 'datetime',
		'cus_id' => 'int'
	];

	protected $fillable = [
		'rtn_date',
		'rtn_time',
		'cus_id',
		'inv_no',
		'cmp_no',
		'desc'
	];
}
