<?php

namespace App\Models\Companies;

use CodeIgniter\Model;

class CompaniesModel extends Model
{
    protected $table      = 't_companies';
    protected $primaryKey = 'PK_Company';

    protected $allowedFields = [
        'External_Company_ID',
        'PK_User',
        'Company_name',
        'Domain',
        'Type',
        'Sector',
        'Industry_group',
        'Phone',
        'Address',
        'City',
        'State',
        'Country',
        'Postal_code',
        'Timezone',
        'Employees_count',
        'Employees_range',
        'Annual_revenue',
        'Revenue_range',
        'Lifecycle_stage',
        'Lead_status',
        'Created_at',
        'Updated_at',
        'Imported_at',
    ];

    protected $useTimestamps = false;
}
