1234567891011121314151617181920212223 |
- <?php return array (
- 'time' => 1449933070,
- 'table' => 'company_user',
- 'create' => 'DROP TABLE IF EXISTS `company_user`;CREATE TABLE `company_user`(`id` INT(11) UNSIGNED AUTO_INCREMENT PRIMARY KEY NOT NULL COMMENT \'用户ID\',`company` INT(11) NOT NULL DEFAULT 0 COMMENT \'所属公司\',`username` VARCHAR(80) NOT NULL DEFAULT \'\' COMMENT \'用户名\',`auth` VARCHAR(500) NOT NULL DEFAULT \'\' COMMENT \'园区权限设置\',`nickname` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'用户昵称\',`mobile` VARCHAR(32) NOT NULL DEFAULT \'\' COMMENT \'手机号\',`password` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'密码\',`avatar` VARCHAR(150) NOT NULL DEFAULT \'\' COMMENT \'头像\',`weixin` VARCHAR(50) NOT NULL DEFAULT \'\' COMMENT \'微信号\',`level` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'用户等级\',`login_date` INT(11) NOT NULL DEFAULT 0 COMMENT \'最近登录\',`reg_date` INT(11) NOT NULL DEFAULT 0 COMMENT \'注册时间\',`bind` TINYINT(1) NOT NULL DEFAULT \'2\' COMMENT \'是否绑定手机\',`state` TINYINT(1) NOT NULL DEFAULT \'1\' COMMENT \'状态\',`cdate` INT(11) NOT NULL DEFAULT 0 COMMENT \'录入时间\')',
- 'struct' =>
- array (
- 'id' => 0,
- 'company' => 1,
- 'username' => 2,
- 'auth' => 3,
- 'nickname' => 4,
- 'mobile' => 5,
- 'password' => 6,
- 'avatar' => 7,
- 'weixin' => 8,
- 'level' => 9,
- 'login_date' => 10,
- 'reg_date' => 11,
- 'bind' => 12,
- 'state' => 13,
- 'cdate' => 14,
- ),
- );
|