donation/app/Models/Donation_model.php
2020-11-23 15:46:19 +05:30

25 lines
638 B
PHP

<?php namespace App\Models;
use CodeIgniter\Model;
class Donation_model extends Model
{
protected $table = 'firstci4';
protected $primaryKey = 'id';
protected $allowedFields = ['name', 'email','department'];
// protected $returnType = 'array';
// protected $useSoftDeletes = true;
// protected $useTimestamps = false;
// protected $createdField = 'created_at';
// protected $updatedField = 'updated_at';
// protected $deletedField = 'deleted_at';
// protected $validationRules = [];
// protected $validationMessages = [];
// protected $skipValidation = false;
}