update for version 1.0.1
This commit is contained in:
13
code/app/Model/helpdesk/Utility/Date_format.php
Normal file
13
code/app/Model/helpdesk/Utility/Date_format.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class date_format extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'date_format';
|
||||
|
||||
protected $fillable = ['id', 'format'];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/Date_time_format.php
Normal file
13
code/app/Model/helpdesk/Utility/Date_time_format.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class date_time_format extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'date_time_format';
|
||||
|
||||
protected $fillable = ['id', 'format'];
|
||||
|
||||
}
|
16
code/app/Model/helpdesk/Utility/Email.php
Normal file
16
code/app/Model/helpdesk/Utility/Email.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Email extends Model {
|
||||
|
||||
/* Using Email table */
|
||||
protected $table = 'email';
|
||||
/* Set fillable fields in table */
|
||||
protected $fillable = [
|
||||
'id','template','sys_email','alert_email','admin_email','mta','email_fetching','strip',
|
||||
'separator','all_emails','email_collaborator','attachment'
|
||||
|
||||
];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/Form_type.php
Normal file
13
code/app/Model/helpdesk/Utility/Form_type.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_type extends Model {
|
||||
|
||||
protected $table = 'form_type';
|
||||
|
||||
protected $fillable = [
|
||||
'id','type'
|
||||
];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/Form_visibility.php
Normal file
13
code/app/Model/helpdesk/Utility/Form_visibility.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_visibility extends Model {
|
||||
|
||||
protected $table = 'form_visibility';
|
||||
|
||||
protected $fillable = [
|
||||
'id','visibility'
|
||||
];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/Languages.php
Normal file
13
code/app/Model/helpdesk/Utility/Languages.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Languages extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'languages';
|
||||
|
||||
protected $fillable = ['name', 'locale'];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/Logs.php
Normal file
13
code/app/Model/helpdesk/Utility/Logs.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Logs extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'logs';
|
||||
|
||||
protected $fillable = ['id', 'level'];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/MailboxProtocol.php
Normal file
13
code/app/Model/helpdesk/Utility/MailboxProtocol.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MailboxProtocol extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'mailbox_protocol';
|
||||
|
||||
protected $fillable = ['id', 'name'];
|
||||
|
||||
}
|
15
code/app/Model/helpdesk/Utility/Priority.php
Normal file
15
code/app/Model/helpdesk/Utility/Priority.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Priority extends Model {
|
||||
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'priority';
|
||||
protected $fillable = [
|
||||
'id', 'name'
|
||||
];
|
||||
|
||||
}
|
12
code/app/Model/helpdesk/Utility/Ticket_thread.php
Normal file
12
code/app/Model/helpdesk/Utility/Ticket_thread.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Ticket_thread extends Model {
|
||||
|
||||
protected $table = 'ticket_thread';
|
||||
protected $fillable = [
|
||||
'id', 'ticket_id', 'ticket_subject', 'ticket_message', 'time', 'poster', 'created_at', 'updated_at'
|
||||
];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Utility/Time_format.php
Normal file
13
code/app/Model/helpdesk/Utility/Time_format.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Time_format extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'time_format';
|
||||
|
||||
protected $fillable = ['id', 'format'];
|
||||
|
||||
}
|
10
code/app/Model/helpdesk/Utility/Timezones.php
Normal file
10
code/app/Model/helpdesk/Utility/Timezones.php
Normal file
@@ -0,0 +1,10 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Timezones extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
protected $table = 'timezone';
|
||||
protected $fillable = ['name', 'location'];
|
||||
}
|
12
code/app/Model/helpdesk/Utility/Version_Check.php
Normal file
12
code/app/Model/helpdesk/Utility/Version_Check.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\Model\helpdesk\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
|
||||
class Version_Check extends Model {
|
||||
|
||||
protected $table = 'version_check';
|
||||
|
||||
protected $fillable = ['current_version','new_version','updated_at','created_at'];
|
||||
|
||||
}
|
Reference in New Issue
Block a user