package TestApp::Plugin::REST::Model::User; use base qw/TestApp::Plugin::REST::Record/; use Jifty::DBI::Schema; # Your column definitions go here. See L for # documentation about how to write column definitions. use Jifty::Record schema { column 'name' => type is 'text', is mandatory; column 'email' => type is 'text', is mandatory; column 'tasty' => type is 'boolean', is immutable; }; # Your model-specific methods go here. 1;