Parent Directory | Revision Log
r1655@llin: dpavlin | 2007-11-20 11:09:49 +0100 added UFO model to receive data from WebPAC::Output::Jifty
1 | dpavlin | 1059 | use strict; |
2 | use warnings; | ||
3 | |||
4 | package Webpacus::Model::UFO; | ||
5 | use Jifty::DBI::Schema; | ||
6 | |||
7 | use Webpacus::Record schema { | ||
8 | |||
9 | column date => | ||
10 | label is _('Date'), | ||
11 | type is 'date', | ||
12 | is indexed, | ||
13 | is mandatory; | ||
14 | |||
15 | column time => | ||
16 | label is _('Time'), | ||
17 | type is 'time', | ||
18 | is indexed, | ||
19 | is mandatory; | ||
20 | |||
21 | column town => | ||
22 | label is _('Town or Village'), | ||
23 | is mandatory, | ||
24 | is indexed; | ||
25 | |||
26 | column county => | ||
27 | label is _('County'), | ||
28 | is mandatory, | ||
29 | is indexed; | ||
30 | |||
31 | column comment => | ||
32 | label is _('Comment'), | ||
33 | is mandatory, | ||
34 | is indexed; | ||
35 | }; | ||
36 | |||
37 | sub since { '0.0.3' }; | ||
38 | |||
39 | # Your model-specific methods go here. | ||
40 | |||
41 | 1; | ||
42 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |