<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Address extends Model {
    protected $fillable = ['user_id','name','phone','address','district','city','zip','is_default'];
    protected $casts    = ['is_default'=>'boolean'];
    public function user() { return $this->belongsTo(User::class); }
}
