修改基础管理中的基础内容

This commit is contained in:
meimei
2025-04-18 14:22:17 +08:00
parent b6a947ba0b
commit 0a83799b2d
18 changed files with 98 additions and 47 deletions

View File

@@ -37,4 +37,8 @@ class Firmbigcategory extends Model
public function firm()
{
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
}

View File

@@ -37,4 +37,8 @@ class Firmcustomerorigin extends Model
public function firm()
{
return $this->belongsTo('Firm', 'firm_id', 'id', [], 'LEFT')->setEagerlyType(0);
}
}

View File

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