149 lines
2.4 KiB
PHP
Executable File
149 lines
2.4 KiB
PHP
Executable File
<?php declare(strict_types=1); namespace IR\App\Models\Admin; if (!defined('IR_START')) exit('<pre>No direct script access allowed</pre>');
|
|
/**
|
|
* @framework Wevads Framework
|
|
* @version 1.0
|
|
* @author Amine Idrissi <contact@iresponse.tech>
|
|
* @date 2019
|
|
* @name PmtaProcess.php
|
|
*/
|
|
|
|
# orm
|
|
use IR\Orm\ActiveRecord as ActiveRecord;
|
|
|
|
/**
|
|
* @name PmtaProcess
|
|
* @description PmtaProcess Model
|
|
*/
|
|
class PmtaProcess extends ActiveRecord
|
|
{
|
|
/**
|
|
* @database
|
|
* @readwrite
|
|
*/
|
|
protected $_databaseKey = 'system';
|
|
|
|
/**
|
|
* @schema
|
|
* @readwrite
|
|
*/
|
|
protected $_schema = 'admin';
|
|
|
|
/**
|
|
* @table
|
|
* @readwrite
|
|
*/
|
|
protected $_table = 'pmta_processes';
|
|
|
|
# columns
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @primary
|
|
* @indexed
|
|
* @autoincrement
|
|
* @type integer
|
|
* @nullable false
|
|
* @length
|
|
*/
|
|
protected $_id;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @indexed
|
|
* @type integer
|
|
* @nullable false
|
|
* @length
|
|
*/
|
|
protected $_provider_id;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type text
|
|
* @nullable false
|
|
* @length 200
|
|
*/
|
|
protected $_provider_name;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @indexed
|
|
* @type integer
|
|
* @nullable false
|
|
* @length
|
|
*/
|
|
protected $_server_id;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @indexed
|
|
* @type text
|
|
* @nullable false
|
|
* @length 500
|
|
*/
|
|
protected $_server_name;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @indexed
|
|
* @type text
|
|
* @nullable false
|
|
* @length 500
|
|
*/
|
|
protected $_user_full_name;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type text
|
|
* @nullable true
|
|
* @length 100
|
|
*/
|
|
protected $_queues;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type text
|
|
* @nullable true
|
|
* @length
|
|
*/
|
|
protected $_vmtas;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @indexed
|
|
* @type integer
|
|
* @nullable false
|
|
* @length
|
|
*/
|
|
protected $_pause_wait;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @indexed
|
|
* @type integer
|
|
* @nullable false
|
|
* @length
|
|
*/
|
|
protected $_resume_wait;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type timestamp
|
|
* @nullable false
|
|
* @length
|
|
*/
|
|
protected $_action_start_time;
|
|
}
|
|
|
|
|