update for version 1.0.1
This commit is contained in:
15
code/app/Model/helpdesk/Form/Fields.php
Normal file
15
code/app/Model/helpdesk/Form/Fields.php
Normal file
@@ -0,0 +1,15 @@
|
||||
<?php namespace App\Model\helpdesk\Form;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Fields extends Model {
|
||||
|
||||
protected $table = 'fields';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['forms_id','label','name', 'type', 'value','required'];
|
||||
}
|
13
code/app/Model/helpdesk/Form/Form_details.php
Normal file
13
code/app/Model/helpdesk/Form/Form_details.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Form;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_details extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'form_details';
|
||||
|
||||
protected $fillable = ['id', 'label', 'type'];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Form/Form_name.php
Normal file
13
code/app/Model/helpdesk/Form/Form_name.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Form;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_name extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'form_name';
|
||||
|
||||
protected $fillable = ['id', 'name', 'status', 'no_of_fields'];
|
||||
|
||||
}
|
13
code/app/Model/helpdesk/Form/Form_value.php
Normal file
13
code/app/Model/helpdesk/Form/Form_value.php
Normal file
@@ -0,0 +1,13 @@
|
||||
<?php namespace App\Model\helpdesk\Form;
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Form_value extends Model {
|
||||
|
||||
public $timestamps = false;
|
||||
|
||||
protected $table = 'form_value';
|
||||
|
||||
protected $fillable = ['id', 'values'];
|
||||
|
||||
}
|
17
code/app/Model/helpdesk/Form/Forms.php
Normal file
17
code/app/Model/helpdesk/Form/Forms.php
Normal file
@@ -0,0 +1,17 @@
|
||||
<?php namespace App\Model\helpdesk\Form;
|
||||
|
||||
|
||||
use Illuminate\Database\Eloquent\Model;
|
||||
|
||||
class Forms extends Model {
|
||||
|
||||
protected $table = 'forms';
|
||||
|
||||
/**
|
||||
* The attributes that are mass assignable.
|
||||
*
|
||||
* @var array
|
||||
*/
|
||||
protected $fillable = ['formname'];
|
||||
|
||||
}
|
Reference in New Issue
Block a user