Created
May 1, 2009 17:40
-
-
Save ggoodman/105147 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
class User extends FAEntity { | |
public function setTableDefinition() { | |
$this->setTableName('user') | |
$this->hasColumn('id', array( | |
'primary' => TRUE, | |
'autoIncrement' => TRUE, | |
)); | |
$this->hasColumn('username'); | |
$this->hasColumn('password'); | |
$this->hasColumn('name'); | |
} | |
} | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment