Parent Directory | Revision Log
r1532@llin: dpavlin | 2007-11-04 17:20:11 +0100 new model Sorted which also gets input from WebPAC
1 | dpavlin | 996 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Webpacus::Model::Sorted; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use Webpacus::Record schema { | ||
8 | |||
9 | column name => | ||
10 | label is _('Field name'), | ||
11 | is indexed, | ||
12 | is mandatory; | ||
13 | |||
14 | column items => | ||
15 | label is _('Occurs in data'), | ||
16 | type is 'int', | ||
17 | default is 0, | ||
18 | is mandatory; | ||
19 | |||
20 | column from_database => | ||
21 | label is _('Source database'), | ||
22 | is mandatory, | ||
23 | is indexed, | ||
24 | since '0.0.2'; | ||
25 | |||
26 | }; | ||
27 | |||
28 | sub since { '0.0.2' }; | ||
29 | |||
30 | # Your model-specific methods go here. | ||
31 | |||
32 | 1; | ||
33 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |