belongsTo(Role::class); } public function barbershop(): BelongsTo { return $this->belongsTo(Barbershop::class); } public function biography(): HasOne { return $this->hasOne(Biography::class); } public function customers(): HasMany { return $this->hasMany(Customer::class); } public function services(): HasMany { return $this->hasMany(Service::class); } public function attendances(): HasMany { return $this->hasMany(Attendance::class); } public function expenses(): HasMany { return $this->hasMany(Expense::class); } public function inventory(): HasMany { return $this->hasMany(Inventory::class); } public function transactions(): HasMany { return $this->hasMany(Transaction::class); } public function payrolls(): HasMany { return $this->hasMany(Payroll::class); } public function cash(): HasMany { return $this->hasMany(Cash::class); } public function attachment(): MorphOne { return $this->morphOne(Attachment::class, 'attachmentable'); } }