<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Factories\HasFactory;
use Illuminate\Database\Eloquent\Model;

class Member extends Model
{
    use HasFactory;

    protected $fillable = [
        'first_name',
        'last_name',
        'email',
        'phone',
        'date_of_birth',
        'join_date',
        'membership_expiry',
        'address',
        'emergency_contact',
        'health_notes',
        'status',
        'profile_image'
    ];

    protected $casts = [
        'date_of_birth' => 'date',
        'join_date' => 'date',
        'membership_expiry' => 'date'
    ];
}