12345678910111213141516171819202122 |
- <?php
- namespace catchAdmin\citymanage\model;
- use catcher\base\CatchModel as Model;
- use catcher\traits\db\BaseOptionsTrait;
- use catcher\traits\db\ScopeTrait;
- class UcDistrict extends Model
- {
- use BaseOptionsTrait, ScopeTrait;
- // 表名
- public $name = 'uc_district';
- // 数据库字段映射
- public $field = array(
- 'id',
- // 名称
- 'name',
- // 所属省份
- 'city_id',
- );
- }
|