Browse Source

生成二维码-debug

whitefang 2 năm trước cách đây
mục cha
commit
a661d06cc9
1 tập tin đã thay đổi với 5 bổ sung và 0 xóa
  1. 5 0
      app/common/model/master_worker/MasterWorkerAgree.php

+ 5 - 0
app/common/model/master_worker/MasterWorkerAgree.php

@@ -34,4 +34,9 @@ class MasterWorkerAgree extends BaseModel
     {
         return $this->belongsTo('app\common\model\master_worker\MasterWorker', 'worker_id', 'id');
     }
+
+    public function masterWorkerInfo()
+    {
+        return $this->belongsTo('app\common\model\master_worker\MasterWorkerInfo', 'worker_id', 'worker_id');
+    }
 }