FEATURE_MAKE_AND_MODEL_MODEL:AADHAVAN

This commit is contained in:
aadhavan valli 2024-04-08 09:50:16 +05:30
parent 71df99b014
commit fb1f32769d
2 changed files with 20 additions and 0 deletions

View File

@ -0,0 +1,11 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class BikemakeModel extends Model
{
protected $table = 'make';
protected $primaryKey = 'make_id';
protected $allowedFields = ['make_id','make','isactive'];
}

View File

@ -0,0 +1,9 @@
<?php
namespace App\Models;
use CodeIgniter\Model;
class BikemodelsModel extends Model
{
protected $table = 'model';
protected $primaryKey = 'model_id';
protected $allowedFields = ['model_id','make_id','model_name','isactive'];
}