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

miaoxing / file / 13041455681

31 Dec 2024 02:01PM UTC coverage: 82.667%. Remained the same
13041455681

push

github

semantic-release-bot
chore(release): publish

See CHANGELOG.md for more details.

62 of 75 relevant lines covered (82.67%)

20.13 hits per line

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

100.0
/src/Service/FileModel.php
1
<?php
2

3
namespace Miaoxing\File\Service;
4

5
use Miaoxing\File\Metadata\FileTrait;
6
use Miaoxing\Plugin\BaseModel;
7
use Miaoxing\Plugin\Model\HasAppIdTrait;
8
use Miaoxing\Plugin\Model\ModelTrait;
9
use Miaoxing\Plugin\Model\SnowflakeTrait;
10

11
class FileModel extends BaseModel
12
{
13
    use FileTrait;
14
    use HasAppIdTrait;
15
    use ModelTrait;
16
    use SnowflakeTrait;
17

18
    public const TYPE_IMAGE = 1;
19

20
    public const TYPE_DOC = 2;
21

22
    public const TYPE_AUDIO = 3;
23

24
    public const TYPE_VIDEO = 4;
25

26
    public const TYPE_OTHERS = 99;
27
}
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

© 2026 Coveralls, Inc