Initial code of commit

This commit is contained in:
sujitprasad
2015-05-01 13:33:56 +05:30
parent 16ea6e1984
commit ef834c58dc
1332 changed files with 141189 additions and 0 deletions

View 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'];
}

View 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'];
}

View 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'
];
}

View 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'
];
}

View 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'
];
}

View File

@@ -0,0 +1,9 @@
<?php namespace App\Model\Utility;
use Illuminate\Database\Eloquent\Model;
class Languages extends Model {
protected $table = 'languages';
}

View 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'];
}

View 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' ];
}

View 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'
];
}

View 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'
];
}

View 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'];
}

View File

@@ -0,0 +1,11 @@
<?php namespace App\Model\Utility;
use Illuminate\Database\Eloquent\Model;
class Timezones extends Model
{
protected $table = 'timezones';
protected $fillable = [
];
}