|Follow newModelQuery() * @method static \Illuminate\Database\Eloquent\Builder|Follow newQuery() * @method static \Illuminate\Database\Eloquent\Builder|Follow query() * @method static \Illuminate\Database\Eloquent\Builder|Follow whereBrokerId($value) * @method static \Illuminate\Database\Eloquent\Builder|Follow whereCreatedAt($value) * @method static \Illuminate\Database\Eloquent\Builder|Follow whereCustomerId($value) * @method static \Illuminate\Database\Eloquent\Builder|Follow whereId($value) * @method static \Illuminate\Database\Eloquent\Builder|Follow whereUpdatedAt($value) * @mixin \Eloquent */ class Follow extends Pivot { protected $table = 'follows'; protected $fillable = [ 'customer_id', 'broker_id', ]; public function customer(): BelongsTo { return $this->belongsTo(Customer::class); } public function broker(): BelongsTo { return $this->belongsTo(Broker::class); } }