Initial code of commit
This commit is contained in:
11
code/app/Model/Utility/Date_format.php
Normal file
11
code/app/Model/Utility/Date_format.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class date_format extends Model {
|
||||
|
||||
protected $table = 'date_format';
|
||||
|
||||
protected $fillable = ['id','format'];
|
||||
|
||||
}
|
11
code/app/Model/Utility/Date_time_format.php
Normal file
11
code/app/Model/Utility/Date_time_format.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class date_time_format extends Model {
|
||||
|
||||
protected $table = 'date_time-format';
|
||||
|
||||
protected $fillable = ['id','format'];
|
||||
|
||||
}
|
16
code/app/Model/Utility/Email.php
Normal file
16
code/app/Model/Utility/Email.php
Normal file
@@ -0,0 +1,16 @@
|
||||
<?php namespace App\Model\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/Utility/Form_type.php
Normal file
13
code/app/Model/Utility/Form_type.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_type extends Model {
|
||||
|
||||
protected $table = 'form_type';
|
||||
|
||||
protected $fillable = [
|
||||
'id','type'
|
||||
];
|
||||
|
||||
}
|
13
code/app/Model/Utility/Form_visibility.php
Normal file
13
code/app/Model/Utility/Form_visibility.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_visibility extends Model {
|
||||
|
||||
protected $table = 'form_visibility';
|
||||
|
||||
protected $fillable = [
|
||||
'id','visibility'
|
||||
];
|
||||
|
||||
}
|
9
code/app/Model/Utility/Languages.php
Normal file
9
code/app/Model/Utility/Languages.php
Normal file
@@ -0,0 +1,9 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Languages extends Model {
|
||||
|
||||
protected $table = 'languages';
|
||||
|
||||
}
|
11
code/app/Model/Utility/Logs.php
Normal file
11
code/app/Model/Utility/Logs.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Logs extends Model {
|
||||
|
||||
protected $table = 'logs';
|
||||
|
||||
protected $fillable = ['id','level'];
|
||||
|
||||
}
|
11
code/app/Model/Utility/MailboxProtocol.php
Normal file
11
code/app/Model/Utility/MailboxProtocol.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class MailboxProtocol extends Model {
|
||||
|
||||
protected $table = 'mailbox_protocol';
|
||||
|
||||
protected $fillable = ['id','name' ];
|
||||
|
||||
}
|
12
code/app/Model/Utility/Priority.php
Normal file
12
code/app/Model/Utility/Priority.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Priority extends Model {
|
||||
|
||||
protected $table = 'priority';
|
||||
protected $fillable = [
|
||||
'id', 'name'
|
||||
];
|
||||
|
||||
}
|
12
code/app/Model/Utility/Ticket_thread.php
Normal file
12
code/app/Model/Utility/Ticket_thread.php
Normal file
@@ -0,0 +1,12 @@
|
||||
<?php namespace App\Model\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'
|
||||
];
|
||||
|
||||
}
|
11
code/app/Model/Utility/Time_format.php
Normal file
11
code/app/Model/Utility/Time_format.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class time_format extends Model {
|
||||
|
||||
protected $table = 'time_format';
|
||||
|
||||
protected $fillable = ['id','format'];
|
||||
|
||||
}
|
11
code/app/Model/Utility/Timezones.php
Normal file
11
code/app/Model/Utility/Timezones.php
Normal file
@@ -0,0 +1,11 @@
|
||||
<?php namespace App\Model\Utility;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Timezones extends Model
|
||||
{
|
||||
protected $table = 'timezones';
|
||||
protected $fillable = [
|
||||
|
||||
];
|
||||
}
|
Reference in New Issue
Block a user