|
|
@@ -11,8 +11,10 @@
|
|
|
class Table_index_csi300 extends Table {
|
|
|
|
|
|
protected $table_name = 'index_csi300';//表名,不带前缀,前缀在config中定义
|
|
|
-
|
|
|
- //数据库结构
|
|
|
+ protected $table_id = 'index_csi300_id';//指定ID字段名称,必须
|
|
|
+ protected $table_status = '';//指定状态字段名称,如果有
|
|
|
+ protected $table_order = '';//指定排序字段名称,如果有
|
|
|
+ //数据库结构
|
|
|
protected function struct(){
|
|
|
$attr = array();
|
|
|
|