Koha-clms/Koha/Schema/Result/Ethnicity.pm

67 lines
1.0 KiB
Perl

use utf8;
package Koha::Schema::Result::Ethnicity;
# Created by DBIx::Class::Schema::Loader
# DO NOT MODIFY THE FIRST PART OF THIS FILE
=head1 NAME
Koha::Schema::Result::Ethnicity
=cut
use strict;
use warnings;
use base 'DBIx::Class::Core';
=head1 TABLE: C<ethnicity>
=cut
__PACKAGE__->table("ethnicity");
=head1 ACCESSORS
=head2 code
data_type: 'varchar'
default_value: (empty string)
is_nullable: 0
size: 10
=head2 name
data_type: 'varchar'
is_nullable: 1
size: 255
=cut
__PACKAGE__->add_columns(
"code",
{ data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
"name",
{ data_type => "varchar", is_nullable => 1, size => 255 },
);
=head1 PRIMARY KEY
=over 4
=item * L</code>
=back
=cut
__PACKAGE__->set_primary_key("code");
# Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:HPwxTCHuS0ZYGSznK4laEA
# You can replace this text with custom content, and it will be preserved on regeneration
1;