<?php

namespace Modules\Mall\Traits;

use Illuminate\Database\Eloquent\Relations\HasMany;
use Modules\Mall\Models\Address;

trait HasAddresses
{

    /**
     * Notes   : 用户的地址列表
     * @Date   : 2021/4/19 10:28 上午
     * @Author : < Jason.C >
     * @return \Illuminate\Database\Eloquent\Relations\HasMany
     */
    public function addresses(): HasMany
    {
        return $this->hasMany(Address::class);
    }

}