Parent Directory | Revision Log
basic models
1 | dpavlin | 2 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Arh::Model::Location; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use Arh::Record schema { | ||
8 | |||
9 | column name => | ||
10 | label is _("Name"); | ||
11 | |||
12 | column address => | ||
13 | label is _("Address"); | ||
14 | |||
15 | column city => | ||
16 | label is _("City"); | ||
17 | |||
18 | column country => | ||
19 | label is _("Country"); | ||
20 | |||
21 | column note => | ||
22 | label is _("Note"); | ||
23 | |||
24 | }; | ||
25 | |||
26 | # Your model-specific methods go here. | ||
27 | |||
28 | 1; | ||
29 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |