20 lines
346 B
PHP
20 lines
346 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\Relations\HasOne;
|
|
|
|
class PrelimScoreSheet extends Model
|
|
{
|
|
public function user(): HasOne
|
|
{
|
|
return $this->hasOne(User::class);
|
|
}
|
|
|
|
public function entry(): HasOne
|
|
{
|
|
return $this->hasOne(Entry::class);
|
|
}
|
|
}
|