| 1 | 4 | ▶ | use utf8; |
|
Subroutine
BEGIN: called CC=1 SCAR=0.0
| |||
| 2 | |||
| 3 | package Data::OFAC::SDN::Schema::Result::Address; | ||
| 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::Address | ||
| 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<ADDRESS> | ||
| 34 | |||
| 35 | =cut | ||
| 36 | |||
| 37 | 4 | __PACKAGE__->table("ADDRESS"); | |
| 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 add_num | ||
| 48 | |||
| 49 | data_type: 'numeric' | ||
| 50 | is_nullable: 0 | ||
| 51 | |||
| 52 | =head2 citystateprovincepostalcode | ||
| 53 | |||
| 54 | data_type: 'text' | ||
| 55 | is_nullable: 1 | ||
| 56 | |||
| 57 | =head2 country | ||
| 58 | |||
| 59 | data_type: 'text' | ||
| 60 | is_nullable: 1 | ||
| 61 | |||
| 62 | =head2 add_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 | "add_num", | ||
| 73 | { data_type => "numeric", is_nullable => 0 }, | ||
| 74 | "citystateprovincepostalcode", | ||
| 75 | { data_type => "text", is_nullable => 1, phonetic_search => 1 }, | ||
| 76 | "country", | ||
| 77 | { data_type => "text", is_nullable => 1, phonetic_search => 1 }, | ||
| 78 | "add_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:rUOg96DZnP9u/LChYJLnnQ | ||
| 106 | |||
| 107 | # You can replace this text with custom code or comments, and it will be preserved on regeneration | ||
| 108 | 4 | 1; | |