<?php
Doo::loadCore('db/DooModel');

class Admin extends DooModel{
    public $id;
    public $username;
    public $password;
    public $rnd;
    public $checked;
    public $loginnum;
    public $lasttime;
    public $lastip;
    public $addtime;
    public $addip;
    public $level;

    public $_table = 'admin';
    public $_primarykey = 'id';
    public $_fields = array('id','username','password','rnd','checked','loginnum','lasttime','lastip','addtime','addip','level');
}