1234567891011121314151617 |
- <?php
- namespace app\user\model;
- class Platform extends Base
- {
- //设置字段信息
- protected $schema = [
- 'id' =>'int',//
- 'plat_name' =>'varchar',//平台名称
- 'plat_code' =>'varchar',//平台编号
- 'status' =>'tinyint',//状态
- 'is_del' =>'tinyint',//是否删除 0 否 1 是
- 'addtime' =>'datetime',//
- 'updatetime' =>'datetime',//
- ];
- }
|