|Address newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Address newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Address query() * * @property-read Collection $users * @property-read int|null $users_count * @property int $id * @property string $first_name * @property string $last_name * @property string $street * @property string $city * @property string $state * @property string $pin * @property Carbon|null $created_at * @property Carbon|null $updated_at * * @method static \Illuminate\Database\Eloquent\Builder|Address whereCity($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereFirstName($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereLastName($value) * @method static \Illuminate\Database\Eloquent\Builder|Address wherePin($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereState($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereStreet($value) * @method static \Illuminate\Database\Eloquent\Builder|Address whereUpdatedAt($value) * * @mixin \Eloquent */ class Address extends Model { protected $fillable = ['first_name', 'last_name', 'street', 'city', 'state', 'pin']; public function users(): BelongsToMany { return $this->belongsToMany(User::class); } }