Bug 11502: make library filter in "Holds To Pull" more precise
[koha.git] / Koha / Schema / Result / Ethnicity.pm
blob039fcb7a5b595b83f304d6c413324bacf8d6524b
1 use utf8;
2 package Koha::Schema::Result::Ethnicity;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Ethnicity
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<ethnicity>
20 =cut
22 __PACKAGE__->table("ethnicity");
24 =head1 ACCESSORS
26 =head2 code
28 data_type: 'varchar'
29 default_value: (empty string)
30 is_nullable: 0
31 size: 10
33 =head2 name
35 data_type: 'varchar'
36 is_nullable: 1
37 size: 255
39 =cut
41 __PACKAGE__->add_columns(
42 "code",
43 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
44 "name",
45 { data_type => "varchar", is_nullable => 1, size => 255 },
48 =head1 PRIMARY KEY
50 =over 4
52 =item * L</code>
54 =back
56 =cut
58 __PACKAGE__->set_primary_key("code");
61 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
62 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HPwxTCHuS0ZYGSznK4laEA
65 # You can replace this text with custom content, and it will be preserved on regeneration