• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

miaoxing / app / 4289417086

pending completion
4289417086

push

github

twinh
feat(app): 增加 `UserModel` 服务

0 of 1 new or added line in 1 file covered. (0.0%)

8 of 23 relevant lines covered (34.78%)

1.04 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

0.0
/src/Service/UserModel.php
1
<?php
2

3
namespace Miaoxing\App\Service;
4

5
use Miaoxing\Admin\Service\GroupModel;
6
use Miaoxing\App\Metadata\UserTrait;
7
use Miaoxing\Plugin\Service\UserModel as BaseUserModel;
8

9
/**
10
 * @property GroupModel $group
11
 */
12
class UserModel extends BaseUserModel
13
{
14
    use UserTrait;
15

16
    public function group()
17
    {
NEW
18
        return $this->hasOne(GroupModel::class, 'id', 'groupId');
×
19
    }
20
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2025 Coveralls, Inc