pingcrm/app/Account.php

24 lines
378 B
PHP
Raw Normal View History

2019-03-18 08:53:00 -03:00
<?php
namespace App;
use Illuminate\Database\Eloquent\SoftDeletes;
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);
}
}