pingcrm/app/Account.php

22 lines
331 B
PHP
Raw Normal View History

2019-03-18 08:53:00 -03:00
<?php
namespace App;
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);
}
}