<?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';
}
?>
