| Total Complexity | 4 |
| Total Lines | 23 |
| Duplicated Lines | 0 % |
| Changes | 1 | ||
| Bugs | 0 | Features | 1 |
| 1 | <?php |
||
| 8 | class OJ extends Model |
||
| 9 | { |
||
| 10 | protected $table='oj'; |
||
| 11 | protected $primaryKey='oid'; |
||
| 12 | |||
| 13 | public function judge_servers() |
||
| 14 | { |
||
| 15 | return $this->hasMany('App\Models\Eloquent\JudgeServer', 'oid', 'oid'); |
||
| 16 | } |
||
| 17 | |||
| 18 | public function compilers() |
||
| 19 | { |
||
| 20 | return $this->hasMany('App\Models\Eloquent\Compiler', 'oid', 'oid'); |
||
| 21 | } |
||
| 22 | |||
| 23 | public function judgers() |
||
| 26 | } |
||
| 27 | |||
| 28 | public function problems() |
||
| 33 |