Viewing File: /home/assersoft/public_html/doctor-assistant/app/Models/SubscriptionsModel.php
<?php
namespace App\Models;
use CodeIgniter\Model;
class SubscriptionsModel extends Model {
protected $table = 'Subscriptions';
protected $primaryKey = 'subscription_id';
protected $useAutoIncrement = true;
protected $returnType = 'array';
protected $useSoftDeletes = false;
protected $allowedFields = ['start_date', 'end_date', 'subscription_fees', 'clinic_id'];
protected bool $allowEmptyInserts = false;
protected bool $updateOnlyChanged = true;
protected $useTimestamps = true;
protected $dateFormat = 'datetime';
protected $createdField = 'created_at';
protected $updatedField = 'updated_at';
protected $validationRules = [];
protected $validationMessages = [];
}
Back to Directory
File Manager