| Total Complexity | 2 | 
| Total Lines | 16 | 
| Duplicated Lines | 0 % | 
| Changes | 1 | ||
| Bugs | 0 | Features | 0 | 
| 1 | <?php | ||
| 7 | class ContestParticipant extends Model | ||
| 8 | { | ||
| 9 | protected $table='contest_participant'; | ||
| 10 | protected $primaryKey='cpid'; | ||
| 11 | const DELETED_AT=null; | ||
| 12 | const UPDATED_AT=null; | ||
| 13 | const CREATED_AT=null; | ||
| 14 | |||
| 15 | public function user() | ||
| 16 |     { | ||
| 17 |         return $this->belongsTo('App\Models\Eloquent\UserModel', 'uid'); | ||
| 18 | } | ||
| 19 | |||
| 20 | public function contest() | ||
| 23 | } | ||
| 24 | } | ||
| 25 |