-
Notifications
You must be signed in to change notification settings - Fork 0
/
_ide_helper_models.php
executable file
·65 lines (60 loc) · 2.53 KB
/
_ide_helper_models.php
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
<?php
/**
* A helper file for your Eloquent Models
* Copy the phpDocs from this file to the correct Model,
* And remove them from this file, to prevent double declarations.
*
* @author Barry vd. Heuvel <barryvdh@gmail.com>
*/
namespace App{
/**
* App\Activity
*
* @property int $id
* @property string $title 活动标题
* @property string $abstract 活动的简介
* @property string $schedule 活动的时间表,进行php序列化储存
* @property string $sign_up_url 报名的外部链接
* @property string $poster_url 海报的外部链接
* @method static \Illuminate\Database\Query\Builder|\App\Activity whereAbstract($value)
* @method static \Illuminate\Database\Query\Builder|\App\Activity whereId($value)
* @method static \Illuminate\Database\Query\Builder|\App\Activity wherePosterUrl($value)
* @method static \Illuminate\Database\Query\Builder|\App\Activity whereSchedule($value)
* @method static \Illuminate\Database\Query\Builder|\App\Activity whereSignUpUrl($value)
* @method static \Illuminate\Database\Query\Builder|\App\Activity whereTitle($value)
*/
class Activity extends \Eloquent {}
}
namespace App{
/**
* App\CompetitionMember
*
* @property int $id
* @property int $team_id team表外健
* @property bool $is_leader 1是队长,0不是
* @property string $name 队伍名
* @property string $phone 电话号码
* @property string $qq qq号
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionMember whereId($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionMember whereIsLeader($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionMember whereName($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionMember wherePhone($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionMember whereQq($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionMember whereTeamId($value)
*/
class CompetitionMember extends \Eloquent {}
}
namespace App{
/**
* App\CompetitionTeam
*
* @property int $id
* @property string $team_name 队伍名
* @property string $slogen 口号
* @property-read \Illuminate\Database\Eloquent\Collection|\App\CompetitionMember[] $competitionMember
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionTeam whereId($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionTeam whereSlogen($value)
* @method static \Illuminate\Database\Query\Builder|\App\CompetitionTeam whereTeamName($value)
*/
class CompetitionTeam extends \Eloquent {}
}