pingcrm/app/Account.php

24 lines
378 B
PHP

<?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);
}
}