You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
24 lines
1.1 KiB
24 lines
1.1 KiB
8 months ago
|
<?php
|
||
|
class UserModel extends Orm_Base{
|
||
|
public $table = 'user';
|
||
|
public $field = array(
|
||
|
'id' => array('type' => "int(11)",'comment' => ''),
|
||
|
'username' => array('type' => "varchar(45)",'comment' => '用户名'),
|
||
|
'password' => array('type' => "varchar(45)",'comment' => '密码'),
|
||
|
'type' => array('type' => "int(11)",'comment' => '注册人员类型 '),
|
||
|
'realname' => array('type' => "varchar(255)",'comment' => '真实姓名'),
|
||
|
'faculties' => array('type' => "varchar(255)",'comment' => '院系'),
|
||
|
'specialized' => array('type' => "varchar(255)",'comment' => '专业'),
|
||
|
'group' => array('type' => "varchar(255)",'comment' => '课题组'),
|
||
|
'teacher' => array('type' => "varchar(255)",'comment' => '导师'),
|
||
|
'phone' => array('type' => "int(11)",'comment' => '手机号'),
|
||
|
'status' => array('type' => "int(11)",'comment' => '审核状态'),
|
||
|
'is_delete' => array('type' => "int(11)",'comment' => '是否删除'),
|
||
|
);
|
||
|
public $pk = 'id';
|
||
|
public function getModelList(){
|
||
|
|
||
|
}
|
||
|
}
|
||
|
|