Initial code of commit
This commit is contained in:
11
code/app/Model/Ticket/Ticket_Priority.php
Normal file
11
code/app/Model/Ticket/Ticket_Priority.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Ticket;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket_Priority extends Model
|
||||
{
|
||||
protected $table = 'ticket_priority';
|
||||
protected $fillable = [
|
||||
'priority_id','priority','priority_desc','priority_color','priority_urgency','ispublic'
|
||||
];
|
||||
}
|
||||
12
code/app/Model/Ticket/Ticket_Status.php
Normal file
12
code/app/Model/Ticket/Ticket_Status.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\Model\Ticket;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket_Status extends Model
|
||||
{
|
||||
protected $table = 'ticket_status';
|
||||
protected $fillable = [
|
||||
'id','name','state','mode','flag','sort','properties'
|
||||
];
|
||||
}
|
||||
|
||||
11
code/app/Model/Ticket/Ticket_Thread.php
Normal file
11
code/app/Model/Ticket/Ticket_Thread.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Ticket;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket_Thread extends Model
|
||||
{
|
||||
protected $table = 'ticket_thread';
|
||||
protected $fillable = [
|
||||
'id','pid','ticket_id','staff_id','user_id','thread_type','poster','source','title','body','format','ip_address','created_at','updated_at'
|
||||
];
|
||||
}
|
||||
11
code/app/Model/Ticket/Ticket_attachments.php
Normal file
11
code/app/Model/Ticket/Ticket_attachments.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Ticket;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket_attachments extends Model
|
||||
{
|
||||
protected $table = 'ticket_attachment';
|
||||
protected $fillable = [
|
||||
'id','thread_id','name','size','type','content','group','updated_at','created_at'
|
||||
];
|
||||
}
|
||||
11
code/app/Model/Ticket/Tickets.php
Normal file
11
code/app/Model/Ticket/Tickets.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Ticket;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Tickets extends Model
|
||||
{
|
||||
protected $table = 'tickets';
|
||||
protected $fillable = [
|
||||
'id','ticket_number','num_sequence','user_id','priority_id','sla','help_topic_id','max_open_ticket','collision_avoid','captcha','status','claim_response','assigned_ticket','answered_ticket','agent_mask','html','client_update','max_file_size','remember_token','created_at','updated_at'
|
||||
];
|
||||
}
|
||||
Reference in New Issue
Block a user