%PDF- %PDF-
Direktori : /var/www/tsi-crm/app/Models/ |
Current File : /var/www/tsi-crm/app/Models/Accounts.php |
<?php namespace App\Models; use App\Nova\Contacts; use App\Nova\Projects; use Illuminate\Database\Eloquent\Factories\HasFactory; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\Relations\HasMany; class Accounts extends Model { use HasFactory; protected $table = 'accounts'; protected $primaryKey = 'id'; public function contacts(): HasMany { return $this->hasMany(Contacts::class); } public function projects(): HasMany { return $this->hasMany(Projects::class); } }