ro
bce9a430aa
Changed the appeal process so that each request is tracked in the database to make reviewing and time limits easier to manage. An email is still sent but it's just a notifcation to let the admin know an appeal has been filed.
35 lines
657 B
PHP
35 lines
657 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use Illuminate\Database\Eloquent\Factories\HasFactory;
|
|
use Illuminate\Database\Eloquent\Model;
|
|
use Illuminate\Database\Eloquent\SoftDeletes;
|
|
|
|
class Appeal extends Model
|
|
{
|
|
use HasFactory;
|
|
use SoftDeletes;
|
|
|
|
/**
|
|
* The table associated with the model.
|
|
*
|
|
* @var string
|
|
*/
|
|
protected $table = "appeal";
|
|
|
|
protected $primaryKey = 'id';
|
|
public $incrementing = true;
|
|
protected $fillable = [
|
|
"uuid",
|
|
"location",
|
|
"location_admin",
|
|
"sponsor",
|
|
"description",
|
|
"approved",
|
|
"reviewed",
|
|
"created_at",
|
|
"updated_at"
|
|
];
|
|
}
|