mirror of
https://gitlab.com/CIEFWorldwideSdnBhd/izyim-api.git
synced 2026-08-19 04:24:01 +00:00
bug fixing
This commit is contained in:
+2
-7
@@ -8,21 +8,16 @@ class Contact extends Model
|
||||
{
|
||||
protected $fillable = ['company_id'];
|
||||
|
||||
public function user()
|
||||
|
||||
{
|
||||
public function user() {
|
||||
|
||||
return $this->belongsTo(App/User);
|
||||
|
||||
}
|
||||
public function company()
|
||||
|
||||
{
|
||||
public function company(){
|
||||
|
||||
return $this->belongsTo(App/Company);
|
||||
|
||||
}
|
||||
|
||||
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user