FEATURE_MAKE_AND_MODEL_MODEL:AADHAVAN
This commit is contained in:
parent
71df99b014
commit
fb1f32769d
11
app/Models/BikemakeModel.php
Normal file
11
app/Models/BikemakeModel.php
Normal 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'];
|
||||||
|
|
||||||
|
|
||||||
|
}
|
||||||
9
app/Models/BikemodelsModel.php
Normal file
9
app/Models/BikemodelsModel.php
Normal 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'];
|
||||||
|
}
|
||||||
Loading…
Reference in New Issue
Block a user