OFAC/SDN/Schema/Result/Alt.pm

filter: Statementstmt 100% 18 / 18 Branchbran n/a Conditioncond n/a MC/DCmcdc n/a Subroutinesub 100% 4 / 4 Podpod n/a totaltotal 100% 22 / 22 CC 1 SCAR 0.0
CC
1
Cov
100%
BEGIN
1.0
BEGIN
1.0
BEGIN
1.0
CRAP 1.0
« OFAC/SDN/Schema/Result/Address.pm ↑ Summary OFAC/SDN/Schema/Result/Lastupdate.pm »
1 4 ▶use utf8;
Subroutine BEGIN: called CC=1 SCAR=0.0
2  
3 package Data::OFAC::SDN::Schema::Result::Alt;
4  
5 # Created by DBIx::Class::Schema::Loader
6 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7  
8 =head1 NAME
9  
10 Data::OFAC::SDN::Schema::Result::Alt
11  
12 =cut
13  
14 4 ▶use strict;
Subroutine BEGIN: called CC=1 SCAR=0.0
15 4 ▶use warnings;
Subroutine BEGIN: called CC=1 SCAR=0.0
16  
17 4 ▶use base 'DBIx::Class::Core';
Subroutine BEGIN: called CC=1 SCAR=0.0
18  
19 =head1 COMPONENTS LOADED
20  
21 =over 4
22  
23 =item * L<DBIx::Class::PhoneticSearch>
24  
25 =item * L<DBIx::Class::Core>
26  
27 =back
28  
29 =cut
30  
31 4 __PACKAGE__->load_components( "PhoneticSearch", "Core" );
32  
33 =head1 TABLE: C<ALT>
34  
35 =cut
36  
37 4 __PACKAGE__->table("ALT");
38  
39 =head1 ACCESSORS
40  
41 =head2 ent_num
42  
43 data_type: 'numeric'
44 is_foreign_key: 1
45 is_nullable: 0
46  
47 =head2 alt_num
48  
49 data_type: 'numeric'
50 is_nullable: 0
51  
52 =head2 alt_type
53  
54 data_type: 'text'
55 is_nullable: 1
56  
57 =head2 alt_name
58  
59 data_type: 'text'
60 is_nullable: 1
61  
62 =head2 alt_remarks
63  
64 data_type: 'text'
65 is_nullable: 1
66  
67 =cut
68  
69 4 __PACKAGE__->add_columns(
70 "ent_num",
71 { data_type => "numeric", is_foreign_key => 1, is_nullable => 0 },
72 "alt_num",
73 { data_type => "numeric", is_nullable => 0 },
74 "alt_type",
75 { data_type => "text", is_nullable => 1 },
76 "alt_name",
77 { data_type => "text", is_nullable => 1, phonetic_search => 1 },
78 "alt_remarks",
79 { data_type => "text", is_nullable => 1 },
80 );
81  
82 4 __PACKAGE__->resultset_class('DBIx::Class::ResultSet::PhoneticSearch');
83  
84 =head1 RELATIONS
85  
86 =head2 ent_num
87  
88 Type: belongs_to
89  
90 Related object: L<Data::OFAC::SDN::Schema::Result::Sdn>
91  
92 =cut
93  
94 4 __PACKAGE__->belongs_to(
95 "ent_num",
96 "Data::OFAC::SDN::Schema::Result::Sdn",
97 { ent_num => "ent_num" },
98 { is_deferrable => 0,
99 on_delete => "NO ACTION",
100 on_update => "NO ACTION"
101 },
102 );
103  
104 # Created by DBIx::Class::Schema::Loader v0.07037 @ 2013-11-11 16:58:48
105 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:FPfKmjOMa6vf6uo6YhQZlw
106  
107 # You can replace this text with custom code or comments, and it will be preserved on regeneration
108 4 1;
« OFAC/SDN/Schema/Result/Address.pm ↑ Summary OFAC/SDN/Schema/Result/Lastupdate.pm »