<?php  namespace App\Models;  use App\Enums\AddressType; use Illuminate\Database\Eloquent\Relations\BelongsTo;  class Address extends Model { 	public $casts = [ 		'type' => AddressType::class, 	];  	public function user(): BelongsTo{}  	public function shortAddress(): string{}  	public static function tempAddressCreate(string $country_code, string $street, string $city, string $zip_code, ?string $phone): Address 	{ 		$address = new Address; 		$address->type = AddressType::SHIPPING; 		$address->street = $street; 		$address->city = $city; 		$address->zip_code = $zip_code; 		$address->country_code = $country_code; 		$address->phone = $phone;  		return $address; 	} }