You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
42 lines
971 B
42 lines
971 B
2 months ago
|
<?php
|
||
|
|
||
|
namespace app\model;
|
||
|
|
||
|
/**
|
||
|
*
|
||
|
* // 马来西亚股票列表
|
||
|
* @property int id
|
||
|
* @property string stock_name
|
||
|
* @property string stock_code
|
||
|
* @property string status
|
||
|
* @property string info
|
||
|
* @property int tape
|
||
|
* @property string create_time
|
||
|
* @property string update_time
|
||
|
* @property float forced_closure
|
||
|
* @property float keep_decimal
|
||
|
* @property float up_limit
|
||
|
* @property float down_limit
|
||
|
*/
|
||
|
class StockInListModel extends BaseModel
|
||
|
{
|
||
|
// 马股列表 数据表
|
||
|
protected $name = 'stock_in_list';
|
||
|
protected $pk = 'id';
|
||
|
|
||
|
// 交易所类型
|
||
|
const TAPE_BSE = '1';
|
||
|
const TAPE_NSE = '2';
|
||
|
public static $tapeList = [
|
||
|
self::TAPE_BSE => 'BSE',
|
||
|
self::TAPE_NSE => 'NSE',
|
||
|
];
|
||
|
|
||
|
const SOURCE_TV='1';
|
||
|
const SOURCE_ECONOMICTIMES='2';
|
||
|
const SOURCE_LIST = [
|
||
|
self::SOURCE_TV => 'TV',
|
||
|
// self::SOURCE_ECONOMICTIMES => 'ECONOMICTIMES',
|
||
|
self::SOURCE_ECONOMICTIMES => '交易所',
|
||
|
];
|
||
|
}
|