<?php

/**
 * Created by Reliese Model.
 */

namespace App\Models;

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

/**
 * Class LoyaltyMember
 * 
 * @property int $member_id
 * @property string $member_name
 * @property string $member_address
 * @property string $mobile_no
 * @property string $rfid_code
 * @property Carbon $added_date
 * @property Carbon $added_time
 * @property int $added_by
 * @property int $loyalty_points
 * @property string $member_status
 *
 * @package App\Models
 */
class LoyaltyMember extends Model
{
	protected $table = 'loyalty_member';
	protected $primaryKey = 'member_id';
	public $timestamps = false;

	protected $casts = [
		'added_date' => 'datetime',
		'added_time' => 'datetime',
		'added_by' => 'int',
		'loyalty_points' => 'int'
	];

	protected $fillable = [
		'member_name',
		'member_address',
		'mobile_no',
		'rfid_code',
		'added_date',
		'added_time',
		'added_by',
		'loyalty_points',
		'member_status'
	];
}
