| 123456789101112131415161718192021 |
- <?php
- /**
- * Created by PhpStorm.
- * User: yunzhong
- * Date: 2018/11/22
- * Time: 9:37
- */
- namespace Yunshop\ActivityApply\models;
- class MemberModel extends \app\common\models\member
- {
- public function hasOneEnrol()
- {
- return $this->hasOne(EnrolModel::class,'member_id', 'id');
- }
- }
|