修改基础管理中的基础内容
This commit is contained in:
@@ -27,9 +27,12 @@ class Firmstoreprojectsone extends Model
|
||||
protected $append = [
|
||||
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
public function firm()
|
||||
{
|
||||
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -27,9 +27,6 @@ class Firmstoreprojectstwo extends Model
|
||||
protected $append = [
|
||||
|
||||
];
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
@@ -37,6 +34,12 @@ class Firmstoreprojectstwo extends Model
|
||||
|
||||
|
||||
|
||||
public function firm()
|
||||
{
|
||||
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
}
|
||||
|
||||
|
||||
public function firmstoreprojectsone()
|
||||
{
|
||||
return $this->belongsTo('Firmstoreprojectsone', 'firmstoreprojectsone_id', 'id', [], 'LEFT')->setEagerlyType(0);
|
||||
|
||||
Reference in New Issue
Block a user