Parent Directory | Revision Log
is required doesn't seem to work, but is mandatory does
1 | use strict; |
2 | use warnings; |
3 | |
4 | package Arh::Model::UnitMaterial; |
5 | use Jifty::DBI::Schema; |
6 | |
7 | use Arh::Record schema { |
8 | |
9 | column unit => |
10 | refers_to Arh::Model::Unit, |
11 | label is _("Unit"), |
12 | is mandatory; |
13 | column material => |
14 | refers_to Arh::Model::Material, |
15 | label is _("Material"), |
16 | is mandatory; |
17 | |
18 | }; |
19 | |
20 | #use Jifty::Plugin::ActorMetadata::Mixin::Model::ActorMetadata; # created_by, created_on, updated_on |
21 | |
22 | # Your model-specific methods go here. |
23 | |
24 | use Arh::DefaultACL; |
25 | |
26 | 1; |
27 |
ViewVC Help | |
Powered by ViewVC 1.1.26 |