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");
56 =head2 staff_searchable
62 =head2 authorised_value_category
68 =head2 display_checkout
83 default_value: (empty string)
89 __PACKAGE__->add_columns(
91 { data_type => "varchar", is_nullable => 0, size => 10 },
93 { data_type => "varchar", is_nullable => 0, size => 255 },
95 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
97 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
99 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
101 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
102 "authorised_value_category",
103 { data_type => "varchar", is_nullable => 1, size => 32 },
105 { data_type => "tinyint", default_value => 0, is_nullable => 0 },
107 { data_type => "varchar", is_nullable => 1, size => 10 },
109 { data_type => "varchar", default_value => "", is_nullable => 0, size => 255 },
122 __PACKAGE__->set_primary_key("code");
126 =head2 borrower_attribute_types_branches
130 Related object: L<Koha::Schema::Result::BorrowerAttributeTypesBranch>
134 __PACKAGE__->has_many(
135 "borrower_attribute_types_branches",
136 "Koha::Schema::Result::BorrowerAttributeTypesBranch",
137 { "foreign.bat_code" => "self.code" },
138 { cascade_copy => 0, cascade_delete => 0 },
141 =head2 borrower_attributes
145 Related object: L<Koha::Schema::Result::BorrowerAttribute>
149 __PACKAGE__->has_many(
150 "borrower_attributes",
151 "Koha::Schema::Result::BorrowerAttribute",
152 { "foreign.code" => "self.code" },
153 { cascade_copy => 0, cascade_delete => 0 },
157 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2016-04-25 18:09:15
158 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:KzCA3jRyp/uqYdrHFXaw7Q
161 # You can replace this text with custom content, and it will be preserved on regeneration