|
|
@@ -32,7 +32,10 @@ class SalaryItemPermanently extends BaseModel
|
|
|
|
|
|
protected $name = 'salary_item_permanently';
|
|
|
|
|
|
-
|
|
|
+ public function workerInfo()
|
|
|
+ {
|
|
|
+ return $this->hasOne(MasterWorkerInfo::class, 'worker_id', 'master_worker_id');
|
|
|
+ }
|
|
|
public function getTermTextAttr($value,$data):string
|
|
|
{
|
|
|
$dictData = DictData::whereIn('type_value', 'salary_item')->column('name','value');
|