2 package Koha
::Schema
::Result
::BorrowerAttributeType
;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::BorrowerAttributeType
16 use base
'DBIx::Class::Core';
18 =head1 TABLE: C<borrower_attribute_types>
22 __PACKAGE__
->table("borrower_attribute_types");
62 =head2 staff_searchable
68 =head2 authorised_value_category
74 =head2 display_checkout
89 default_value: (empty string)
95 __PACKAGE__
->add_columns(
97 { data_type
=> "varchar", is_nullable
=> 0, size
=> 10 },
99 { data_type
=> "varchar", is_nullable
=> 0, size
=> 255 },
101 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
103 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
105 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
107 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
109 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
110 "authorised_value_category",
111 { data_type
=> "varchar", is_nullable
=> 1, size
=> 32 },
113 { data_type
=> "tinyint", default_value
=> 0, is_nullable
=> 0 },
115 { data_type
=> "varchar", is_nullable
=> 1, size
=> 10 },
117 { data_type
=> "varchar", default_value
=> "", is_nullable
=> 0, size
=> 255 },
130 __PACKAGE__
->set_primary_key("code");
134 =head2 borrower_attribute_types_branches
138 Related object: L<Koha::Schema::Result::BorrowerAttributeTypesBranch>
142 __PACKAGE__
->has_many(
143 "borrower_attribute_types_branches",
144 "Koha::Schema::Result::BorrowerAttributeTypesBranch",
145 { "foreign.bat_code" => "self.code" },
146 { cascade_copy
=> 0, cascade_delete
=> 0 },
149 =head2 borrower_attributes
153 Related object: L<Koha::Schema::Result::BorrowerAttribute>
157 __PACKAGE__
->has_many(
158 "borrower_attributes",
159 "Koha::Schema::Result::BorrowerAttribute",
160 { "foreign.code" => "self.code" },
161 { cascade_copy
=> 0, cascade_delete
=> 0 },
165 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-10-25 20:32:12
166 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:gsPR8PuUUZHFUkr3MIbTpw
168 sub koha_object_class
{
169 'Koha::Patron::Attribute::Type';
171 sub koha_objects_class
{
172 'Koha::Patron::Attribute::Types';