- A+
所属分类:PHP
<?php
class Robots extends \Phalcon\Mvc\Model
{
public $code;
public $theYear;
public $theName;
public $theType;
public function columnMap()
{
//Keys为表里面的真实字段名称
//value为程序里面的名称
return array(
'id' => 'code',
'the_name' => 'theName',
'the_type' => 'theType',
'the_year' => 'theYear'
);
}
}
- 我的微信
- 这是我的微信扫一扫
-
- 我的微信公众号
- 我的微信公众号扫一扫
-