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.
15 lines
636 B
15 lines
636 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' => ''),
|
|
'admin_status' => array('type' => "int(1)",'comment' => ''),
|
|
'admin_token' => array('type' => "varchar(33)",'comment' => ''),
|
|
);
|
|
public $pk = 'admin_id';
|
|
}
|
|
|
|
|