61 lines
1009 B
PHP
61 lines
1009 B
PHP
<?php declare(strict_types=1); namespace IR\App\Models\Admin; if (!defined('IR_START')) exit('<pre>No direct script access allowed</pre>');
|
|
|
|
use IR\Orm\ActiveRecord as ActiveRecord;
|
|
|
|
/**
|
|
* @name ServerApis
|
|
* @description ServerApis Model
|
|
*/
|
|
class ServerApis extends ActiveRecord
|
|
{
|
|
/**
|
|
* @database
|
|
* @readwrite
|
|
*/
|
|
protected $_databaseKey = 'system';
|
|
|
|
/**
|
|
* @schema
|
|
* @readwrite
|
|
*/
|
|
protected $_schema = 'admin';
|
|
|
|
/**
|
|
* @table
|
|
* @readwrite
|
|
*/
|
|
protected $_table = 'server_apis';
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @primary
|
|
* @autoincrement
|
|
* @type integer
|
|
*/
|
|
protected $_id;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type text
|
|
* @length 200
|
|
*/
|
|
protected $_account_name;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type text
|
|
* @length 50
|
|
*/
|
|
protected $_api_provider;
|
|
|
|
/**
|
|
* @column
|
|
* @readwrite
|
|
* @type integer
|
|
*/
|
|
protected $_status_id;
|
|
}
|