|Customer newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Customer newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Customer query() * @method static \Illuminate\Database\Eloquent\Builder|Customer whereBio($value) * @method static \Illuminate\Database\Eloquent\Builder|Customer whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Customer whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Customer whereLocation($value) * @method static \Illuminate\Database\Eloquent\Builder|Customer wherePhone($value) * @method static \Illuminate\Database\Eloquent\Builder|Customer whereUpdatedAt($value) * * @mixin \Eloquent */ class Customer extends Model { protected $fillable = ['bio', 'location', 'phone']; public function user(): MorphOne { return $this->morphOne(User::class, 'role'); } public function followings(): HasMany { return $this->hasMany(Follow::class, 'customer_id'); } }