line |
stmt |
bran |
cond |
sub |
pod |
time |
code |
1
|
2
|
|
|
2
|
|
1441
|
use utf8; |
|
2
|
|
|
|
|
8
|
|
|
2
|
|
|
|
|
13
|
|
2
|
|
|
|
|
|
|
|
3
|
|
|
|
|
|
|
package Interchange6::Schema::Result::MessageType; |
4
|
|
|
|
|
|
|
|
5
|
|
|
|
|
|
|
=head1 NAME |
6
|
|
|
|
|
|
|
|
7
|
|
|
|
|
|
|
Interchange6::Schema::Result::MessageType |
8
|
|
|
|
|
|
|
|
9
|
|
|
|
|
|
|
=cut |
10
|
|
|
|
|
|
|
|
11
|
2
|
|
|
2
|
|
110
|
use Interchange6::Schema::Candy; |
|
2
|
|
|
|
|
15
|
|
|
2
|
|
|
|
|
16
|
|
12
|
|
|
|
|
|
|
|
13
|
|
|
|
|
|
|
=head1 DESCRIPTION |
14
|
|
|
|
|
|
|
|
15
|
|
|
|
|
|
|
Lookup table for L<Interchange6::Schema::Result::Message/type> |
16
|
|
|
|
|
|
|
|
17
|
|
|
|
|
|
|
=head1 ACCESSORS |
18
|
|
|
|
|
|
|
|
19
|
|
|
|
|
|
|
=head2 message_types_id |
20
|
|
|
|
|
|
|
|
21
|
|
|
|
|
|
|
Primary key. |
22
|
|
|
|
|
|
|
|
23
|
|
|
|
|
|
|
=cut |
24
|
|
|
|
|
|
|
|
25
|
|
|
|
|
|
|
primary_column message_types_id => { |
26
|
|
|
|
|
|
|
data_type => "integer", |
27
|
|
|
|
|
|
|
is_auto_increment => 1 |
28
|
|
|
|
|
|
|
}; |
29
|
|
|
|
|
|
|
|
30
|
|
|
|
|
|
|
=head2 name |
31
|
|
|
|
|
|
|
|
32
|
|
|
|
|
|
|
Name of the message type. Must be unique. |
33
|
|
|
|
|
|
|
|
34
|
|
|
|
|
|
|
=cut |
35
|
|
|
|
|
|
|
|
36
|
|
|
|
|
|
|
unique_column name => { |
37
|
|
|
|
|
|
|
data_type => "varchar", |
38
|
|
|
|
|
|
|
size => 255 |
39
|
|
|
|
|
|
|
}; |
40
|
|
|
|
|
|
|
|
41
|
|
|
|
|
|
|
=head2 active |
42
|
|
|
|
|
|
|
|
43
|
|
|
|
|
|
|
Is the message type active. Default is yes. |
44
|
|
|
|
|
|
|
|
45
|
|
|
|
|
|
|
=cut |
46
|
|
|
|
|
|
|
|
47
|
|
|
|
|
|
|
column active => { |
48
|
|
|
|
|
|
|
data_type => "boolean", |
49
|
|
|
|
|
|
|
default_value => 1 |
50
|
|
|
|
|
|
|
}; |
51
|
|
|
|
|
|
|
|
52
|
|
|
|
|
|
|
=head1 RELATIONS |
53
|
|
|
|
|
|
|
|
54
|
|
|
|
|
|
|
=head2 messages |
55
|
|
|
|
|
|
|
|
56
|
|
|
|
|
|
|
Type: has_many |
57
|
|
|
|
|
|
|
|
58
|
|
|
|
|
|
|
Related object: L<Interchange6::Schema::Result::Message> |
59
|
|
|
|
|
|
|
|
60
|
|
|
|
|
|
|
=cut |
61
|
|
|
|
|
|
|
|
62
|
|
|
|
|
|
|
has_many |
63
|
|
|
|
|
|
|
messages => 'Interchange6::Schema::Result::Message', |
64
|
|
|
|
|
|
|
'message_types_id'; |
65
|
|
|
|
|
|
|
|
66
|
|
|
|
|
|
|
1; |