管理页面
This commit is contained in:
@@ -0,0 +1,36 @@
|
||||
<?php
|
||||
|
||||
namespace plugin\admin\app\model;
|
||||
|
||||
use plugin\admin\app\model\Base;
|
||||
|
||||
/**
|
||||
* @property integer $id 唯一标识(主键)
|
||||
* @property string $name 港口/仓库名称
|
||||
* @property string $name_en 英文名称
|
||||
* @property string $address 详细地址
|
||||
* @property string $area 所在地区
|
||||
* @property string $type 类型:港口/仓库
|
||||
* @property integer $num 车辆数
|
||||
* @property mixed $created_at 创建时间
|
||||
* @property mixed $updated_at 更新时间
|
||||
*/
|
||||
class Location extends Base
|
||||
{
|
||||
/**
|
||||
* The table associated with the model.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $table = 'locations';
|
||||
|
||||
/**
|
||||
* The primary key associated with the table.
|
||||
*
|
||||
* @var string
|
||||
*/
|
||||
protected $primaryKey = 'id';
|
||||
|
||||
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user