Parent Directory | Revision Log
added bunch of models and script to resize tif pictures
1 | use strict; |
2 | use warnings; |
3 | |
4 | package Arh::Model::Campaign; |
5 | use Jifty::DBI::Schema; |
6 | |
7 | use Arh::Record schema { |
8 | |
9 | column place => |
10 | refers_to Arh::Model::Place, |
11 | is mandatory, |
12 | is indexed, |
13 | since '0.0.5'; |
14 | |
15 | column name => |
16 | label is _("Name of campaign"), |
17 | is mandatory; |
18 | |
19 | column date_from => |
20 | type is 'date', |
21 | filters are qw( Jifty::DBI::Filter::Date Jifty::DBI::Filter::DateTime ), |
22 | is mandatory; |
23 | |
24 | column date_to => |
25 | type is 'date', |
26 | filters are qw( Jifty::DBI::Filter::Date Jifty::DBI::Filter::DateTime ), |
27 | is mandatory; |
28 | |
29 | column note => |
30 | label is _("Note"), |
31 | render as 'testarea'; |
32 | |
33 | }; |
34 | |
35 | # Your model-specific methods go here. |
36 | |
37 | sub since { '0.0.3' } |
38 | |
39 | 1; |
40 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |