26 lines
959 B
PHP
26 lines
959 B
PHP
<?php
|
|
|
|
namespace App\Models;
|
|
|
|
use CodeIgniter\Model;
|
|
|
|
class PlanStatusModel extends Model
|
|
{
|
|
protected $table = 'c_plan_status';
|
|
protected $primaryKey = 'id';
|
|
|
|
protected $allowedFields = [
|
|
'plan_id',
|
|
'service_id',
|
|
'a1_id', 'a1_action', 'is_a1_action_done', 'a1_reject_reason', 'a1_action_done_on','a1_action_done_by','is_a1_mail_send',
|
|
'a2_id', 'a2_action', 'is_a2_action_done', 'a2_reject_reason', 'a2_action_done_on','a2_action_done_by','is_a2_mail_send',
|
|
'a3_id', 'a3_action', 'is_a3_action_done', 'a3_reject_reason', 'a3_action_done_on','a3_action_done_by','is_a3_mail_send',
|
|
'a4_id', 'a4_action', 'is_a4_action_done', 'a4_reject_reason', 'a4_action_done_on','a4_action_done_by','is_a4_mail_send',
|
|
'parallel_process_from',
|
|
'is_active',
|
|
'created_on', 'created_by'
|
|
];
|
|
|
|
protected $useTimestamps = false; // Since created_on and updated_on are managed manually
|
|
}
|