pingcrm/app/Models/Account.php

24 lines
379 B
PHP

<?php
namespace App\Models;
use Illuminate\Database\Eloquent\Model;
class Account extends Model
{
public function users()
{
return $this->hasMany(User::class);
}
public function organizations()
{
return $this->hasMany(Organization::class);
}
public function contacts()
{
return $this->hasMany(Contact::class);
}
}