add projet
This commit is contained in:
@@ -0,0 +1,32 @@
|
||||
<?php
|
||||
|
||||
namespace App\Models;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
use Illuminate\Database\Eloquent\SoftDeletes;
|
||||
|
||||
class Competition extends Model
|
||||
{
|
||||
use SoftDeletes;
|
||||
protected $table = 'competitions';
|
||||
protected $fillable = [
|
||||
'title',
|
||||
'semester',
|
||||
'school_year',
|
||||
'class_section_id',
|
||||
'start_date',
|
||||
'end_date',
|
||||
'winners_count',
|
||||
'prize_per_point',
|
||||
'is_published',
|
||||
'published_at',
|
||||
'created_by',
|
||||
'created_at',
|
||||
'updated_at',
|
||||
'deleted_at',
|
||||
'is_locked',
|
||||
'locked_at',
|
||||
'locked_by',
|
||||
];
|
||||
public $timestamps = true;
|
||||
}
|
||||
Reference in New Issue
Block a user