2 package Koha
::Schema
::Result
::AuthTagStructure
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::AuthTagStructure
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<auth_tag_structure>
22 __PACKAGE__
->table("auth_tag_structure");
29 default_value: (empty string)
37 default_value: (empty string)
44 default_value: (empty string)
51 default_value: (empty string)
67 =head2 authorised_value
75 __PACKAGE__
->add_columns(
78 data_type
=> "varchar",
85 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 3 },
87 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
89 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
91 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
93 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
95 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
102 =item * L</authtypecode>
110 __PACKAGE__
->set_primary_key("authtypecode", "tagfield");
118 Related object: L<Koha::Schema::Result::AuthType>
122 __PACKAGE__
->belongs_to(
124 "Koha::Schema::Result::AuthType",
125 { authtypecode
=> "authtypecode" },
126 { is_deferrable
=> 1, on_delete
=> "CASCADE", on_update
=> "CASCADE" },
130 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
131 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4ulaQnDuxrwYgCKJ/Qygaw
133 sub koha_object_class
{
134 'Koha::Authority::Tag';
136 sub koha_objects_class
{
137 'Koha::Authority::Tags';