| 1 | package Crop::Rights::Realm; | ||
| 2 | use base qw/ Crop::Object::Simple /; | ||
| 3 | |||
| 4 | =begin nd | ||
| 5 | Class: Crop::Rights::Realm | ||
| 6 | Object the rights are linked to. | ||
| 7 | =cut | ||
| 8 | |||
| 9 | use v5.14; | ||
| 10 | use warnings; | ||
| 11 | |||
| 12 | =begin nd | ||
| 13 | Variable: our %Attributes | ||
| 14 | Class attributes: | ||
| 15 | |||
| 16 | id - id from <Crop::Object::Simple> | ||
| 17 | name - name | ||
| 18 | description - description | ||
| 19 | =cut | ||
| 20 | our %Attributes = ( | ||
| 21 | name => {mode => 'read'}, | ||
| 22 | description => undef, | ||
| 23 | ); | ||
| 24 | |||
| 25 | =begin nd | ||
| 26 | Method: Table ( ) | ||
| 27 | Table in Warehouse. | ||
| 28 | |||
| 29 | Returns: | ||
| 30 | 'realm' string | ||
| 31 | =cut | ||
| 32 | sub Table { 'realm' } | ||
| 33 | |||
| 34 | 1; |