修改基础管理中的基础内容
This commit is contained in:
@@ -37,4 +37,8 @@ class Firmbigcategory extends Model
|
||||
|
||||
|
||||
|
||||
public function firm()
|
||||
{
|
||||
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,8 @@ class Firmcustomerorigin extends Model
|
||||
|
||||
|
||||
|
||||
public function firm()
|
||||
{
|
||||
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
}
|
||||
|
||||
@@ -37,4 +37,14 @@ class Firmduty extends Model
|
||||
|
||||
|
||||
|
||||
public function firm()
|
||||
{
|
||||
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
|
||||
|
||||
public function firmstore()
|
||||
{
|
||||
return $this->belongsTo('Firmstore', 'firmstore_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user