d0b8730b3b9b7f4443e19596e80382349623218d
[koha-equinox.git] / Koha / Schema / Result / Fieldmapping.pm
1 use utf8;
2 package Koha::Schema::Result::Fieldmapping;
3
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
6
7 =head1 NAME
8
9 Koha::Schema::Result::Fieldmapping
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<fieldmapping>
19
20 =cut
21
22 __PACKAGE__->table("fieldmapping");
23
24 =head1 ACCESSORS
25
26 =head2 id
27
28   data_type: 'integer'
29   is_auto_increment: 1
30   is_nullable: 0
31
32 =head2 field
33
34   data_type: 'varchar'
35   is_nullable: 0
36   size: 255
37
38 =head2 frameworkcode
39
40   data_type: 'char'
41   default_value: (empty string)
42   is_nullable: 0
43   size: 4
44
45 =head2 fieldcode
46
47   data_type: 'char'
48   is_nullable: 0
49   size: 3
50
51 =head2 subfieldcode
52
53   data_type: 'char'
54   is_nullable: 0
55   size: 1
56
57 =cut
58
59 __PACKAGE__->add_columns(
60   "id",
61   { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
62   "field",
63   { data_type => "varchar", is_nullable => 0, size => 255 },
64   "frameworkcode",
65   { data_type => "char", default_value => "", is_nullable => 0, size => 4 },
66   "fieldcode",
67   { data_type => "char", is_nullable => 0, size => 3 },
68   "subfieldcode",
69   { data_type => "char", is_nullable => 0, size => 1 },
70 );
71
72 =head1 PRIMARY KEY
73
74 =over 4
75
76 =item * L</id>
77
78 =back
79
80 =cut
81
82 __PACKAGE__->set_primary_key("id");
83
84
85 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
86 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:x+izN6nqxs+W/g/demOpOg
87
88
89 # You can replace this text with custom content, and it will be preserved on regeneration
90 1;