models for help desk tickets and queues model for EveMail modified app config for queues added new routes for jump bridges composer updated for autoloader modified JumpBridgeController added new controllers for HelpDesk and HelpDeskAdmin
32 lines
508 B
PHP
32 lines
508 B
PHP
<?php
|
|
|
|
namespace App;
|
|
|
|
use Illuminate\Database\Eloquent\Model;
|
|
|
|
class HelpDeskTicket extends Model
|
|
{
|
|
//Table Name
|
|
protected $table = 'help_desk_tickets';
|
|
|
|
//Primary Key
|
|
public $primaryKey = 'id';
|
|
|
|
//Timestamps
|
|
public $timestamps = true;
|
|
|
|
/**
|
|
* The attributes that are mass assignable
|
|
*
|
|
* @var array
|
|
*/
|
|
protected $fillable = [
|
|
'ticket_id',
|
|
'user_id',
|
|
'assigned_id',
|
|
'department',
|
|
'subject',
|
|
'body',
|
|
];
|
|
}
|