You cannot 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
890 B
PHP
24 lines
890 B
PHP
<?php
|
|
|
|
|
|
class UserModel extends Model {
|
|
|
|
|
|
|
|
public function __construct() {
|
|
$this->table = 'mailbox';
|
|
$this->columns = array('username' => array('varchar(255)', false),
|
|
'password' => array('varchar(255)', false),
|
|
'name' => array('varchar(255)', false),
|
|
'maildir' => array('varchar(255)', false),
|
|
'quota' => array('bigint', false, 0),
|
|
'local_part' => array('varchar(255)', false),
|
|
'domain' => array('varchar(255)', false),
|
|
'created' => array('datetime', false),
|
|
'modified' => array('datetime', false),
|
|
'active' => array('tinyint(1)', false, 1) );
|
|
$this->coloumn_id = 'username';
|
|
}
|
|
|
|
}
|
|
|