鼠笼管理系统
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.
 
 
 
 

18 lines
847 B

<?php
class AdminModel extends Orm_Base{
public $table = 'admin';
public $field = array(
'admin_id' => array('type' => "int(11)",'comment' => ''),
'admin_name' => array('type' => "varchar(45)",'comment' => ''),
'admin_username' => array('type' => "varchar(45)",'comment' => ''),
'admin_password' => array('type' => "int(11)",'comment' => ''),
'admin_created' => array('type' => "char(15)",'comment' => ''),
'hospital' => array('type' => "int(11)",'comment' => ''),
'hospital_name' => array('type' => "char(15)",'comment' => ''),
'admin_status' => array('type' => "int(1)",'comment' => ''),
'admin_token' => array('type' => "varchar(33)",'comment' => ''),
'admin_pwd' => array('type' => "varchar(33)",'comment' => ''),
);
public $pk = 'admin_id';
}
?>