This commit is contained in:
meimei
2025-04-16 14:10:39 +08:00
parent 536cc44069
commit db0efbfc30
5 changed files with 24 additions and 3 deletions

View File

@@ -51,6 +51,12 @@ class Mattertemplatecategorization extends Model
public function firmstoreprojectstwo()
{
return $this->belongsTo('Firmstoreprojectstwo', 'id', 'id', [], 'LEFT')->setEagerlyType(0);
return $this->belongsTo('Firmstoreprojectstwo', 'firmstoreprojectstwo_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
public function firm()
{
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
}