IcePHP框架中的快速后台中的通用CRUD功能框架(四) 表配置文件
来源:互联网 发布:linux切换root用户 编辑:程序博客网 时间:2024/06/06 01:14
这个文件是 框架中config 方法取到的配置内容, 可用自动工具从数据库生成此配置
<?
return Array('id' => Array(
'name' => 'id',
'scale' => '',
'type' => 'int',
'maxLength' => '11',
'simpleType' => 'R',
'notNull' => '1',
'primaryKey' => '1',
'autoIncrement' => '1',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '',
),
'adm_name' => Array(
'name' => 'adm_name',
'scale' => '',
'type' => 'varchar',
'maxLength' => '25',
'simpleType' => 'C',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '管理员名字',
),
'adm_pwd' => Array(
'name' => 'adm_pwd',
'scale' => '',
'type' => 'varchar',
'maxLength' => '64',
'simpleType' => 'C',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '密码',
),
'status' => Array(
'name' => 'status',
'scale' => '',
'type' => 'tinyint',
'maxLength' => '1',
'simpleType' => 'L',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '1',
'defaultValue' => '1',
'description' => '0:禁用 1:启用',
),
'sort' => Array(
'name' => 'sort',
'scale' => '',
'type' => 'int',
'maxLength' => '11',
'simpleType' => 'I',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '排序',
),
'endtime' => Array(
'name' => 'endtime',
'scale' => '',
'type' => 'varchar',
'maxLength' => '30',
'simpleType' => 'C',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '最后登陆的时间',
),
'endip' => Array(
'name' => 'endip',
'scale' => '',
'type' => 'varchar',
'maxLength' => '20',
'simpleType' => 'C',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '最后登录的ip',
),
'count' => Array(
'name' => 'count',
'scale' => '',
'type' => 'int',
'maxLength' => '11',
'simpleType' => 'I',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '登录的次数',
),
'createtime' => Array(
'name' => 'createtime',
'scale' => '',
'type' => 'varchar',
'maxLength' => '30',
'simpleType' => 'C',
'notNull' => '',
'primaryKey' => '',
'autoIncrement' => '',
'binary' => '',
'unsigned' => '',
'hasDefault' => '',
'description' => '创建的时间',
),
);
0 0
- IcePHP框架中的快速后台中的通用CRUD功能框架(四) 表配置文件
- IcePHP框架中的快速后台中的通用CRUD功能框架
- IcePHP框架中的快速后台中的通用CRUD功能框架(二)
- IcePHP框架中的快速后台中的通用CRUD功能框架(三) 具体业务示例
- IcePHP框架中的快速后台中的通用CRUD功能框架(五) SCrud 主控类
- IcePHP框架中的快速后台中的通用CRUD功能框架(六) SCrudField 字段类
- IcePHP框架中的快速后台中的通用CRUD功能框架(七) SCrudOperationSet 操作集类
- IcePHP框架中的快速后台中的通用CRUD功能框架(八) SCrudOperation 指定操作类
- IcePHP框架中的快速后台中的通用CRUD功能框架(九) SCrudOperationIndex 及 SCrudOperationSearch 类
- IcePHP框架中的快速后台中的通用CRUD功能框架(十) 运行效果图
- IcePHP框架中的快速后台中的通用CRUD功能框架(十一) 运行效果图改进
- IcePHP框架 新增了 管理后台四层权限功能
- IcePHP框架 新增 管理后台 自动 日志功能
- ssm框架中的配置文件
- icePHP 框架 源代码
- IcePHP 框架文档
- SSM:spring+springmvc+mybatis框架中的XML配置文件功能
- 集合框架中的共性功能
- linux基础:tty pty pts tts介绍
- javaSE-常用类-集合类Collection
- 冒泡排序时间复杂度和算法
- python的lambda函数介绍
- 【深入Java虚拟机】之一:Java内存区域与内存溢出
- IcePHP框架中的快速后台中的通用CRUD功能框架(四) 表配置文件
- 山东大学软件学院计算机组成原理实验4
- android 上的imageview 图片全屏显示
- 如何在service中弹出dialog
- mini2440学习入门
- 浅析电子邮件营销优势
- 一个测试触摸屏的activity
- IOS多线程开发
- IcePHP框架中的快速后台中的通用CRUD功能框架(五) SCrud 主控类