2 package Koha::Schema::Result::AuthorisedValue;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::AuthorisedValue
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<authorised_values>
22 __PACKAGE__->table("authorised_values");
35 default_value: (empty string)
39 =head2 authorised_value
42 default_value: (empty string)
66 __PACKAGE__->add_columns(
68 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
70 { data_type => "varchar", default_value => "", is_nullable => 0, size => 32 },
72 { data_type => "varchar", default_value => "", is_nullable => 0, size => 80 },
74 { data_type => "varchar", is_nullable => 1, size => 200 },
76 { data_type => "varchar", is_nullable => 1, size => 200 },
78 { data_type => "varchar", is_nullable => 1, size => 200 },
91 __PACKAGE__->set_primary_key("id");
95 =head2 authorised_values_branches
99 Related object: L<Koha::Schema::Result::AuthorisedValuesBranch>
103 __PACKAGE__->has_many(
104 "authorised_values_branches",
105 "Koha::Schema::Result::AuthorisedValuesBranch",
106 { "foreign.av_id" => "self.id" },
107 { cascade_copy => 0, cascade_delete => 0 },
111 # Created by DBIx::Class::Schema::Loader v0.07045 @ 2016-08-29 11:50:45
112 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:VtpTwYpCMG3VVmsrQspdxw
115 # You can replace this text with custom content, and it will be preserved on regeneration