testChanges:GWM

This commit is contained in:
sriramv 2023-06-10 14:00:02 +05:30
parent 9f2d209eca
commit 5ff66d1e3a
3 changed files with 51 additions and 0 deletions

View File

@ -0,0 +1,13 @@
<?php namespace App\Models;
use CodeIgniter\Model;
class Email_template_model extends Model
{
protected $table = 'email_template';
protected $primaryKey = 'id';
protected $allowedFields = ['name','to','html','text', 'type' ,'subject','is_active'];
}

View File

@ -0,0 +1,25 @@
<?php namespace App\Models;
use CodeIgniter\Model;
class Transaction_model extends Model
{
protected $table = 'transactions';
protected $primaryKey = 'id';
protected $allowedFields = ['status','member_id','transaction_id','payment_order_id','order_id','transaction','is_mail_triggered', 'first_name','last_name','address', 'city' , 'state' , 'zip_code'];
}

View File

@ -0,0 +1,13 @@
<?php namespace App\Models;
use CodeIgniter\Model;
class Variable_model extends Model
{
protected $table = 'email_template_variables';
protected $primaryKey = 'id';
protected $allowedFields = ['name','variable_name','type'];
}