Bug 8798: DBIx::Class base classes for all Koha tables
[koha.git] / Koha / Schema / Result / Deletedbiblio.pm
1 package Koha::Schema::Result::Deletedbiblio;
2
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
5
6 use strict;
7 use warnings;
8
9 use base 'DBIx::Class::Core';
10
11
12 =head1 NAME
13
14 Koha::Schema::Result::Deletedbiblio
15
16 =cut
17
18 __PACKAGE__->table("deletedbiblio");
19
20 =head1 ACCESSORS
21
22 =head2 biblionumber
23
24   data_type: 'integer'
25   default_value: 0
26   is_nullable: 0
27
28 =head2 frameworkcode
29
30   data_type: 'varchar'
31   default_value: (empty string)
32   is_nullable: 0
33   size: 4
34
35 =head2 author
36
37   data_type: 'mediumtext'
38   is_nullable: 1
39
40 =head2 title
41
42   data_type: 'mediumtext'
43   is_nullable: 1
44
45 =head2 unititle
46
47   data_type: 'mediumtext'
48   is_nullable: 1
49
50 =head2 notes
51
52   data_type: 'mediumtext'
53   is_nullable: 1
54
55 =head2 serial
56
57   data_type: 'tinyint'
58   is_nullable: 1
59
60 =head2 seriestitle
61
62   data_type: 'mediumtext'
63   is_nullable: 1
64
65 =head2 copyrightdate
66
67   data_type: 'smallint'
68   is_nullable: 1
69
70 =head2 timestamp
71
72   data_type: 'timestamp'
73   default_value: current_timestamp
74   is_nullable: 0
75
76 =head2 datecreated
77
78   data_type: 'date'
79   is_nullable: 0
80
81 =head2 abstract
82
83   data_type: 'mediumtext'
84   is_nullable: 1
85
86 =cut
87
88 __PACKAGE__->add_columns(
89   "biblionumber",
90   { data_type => "integer", default_value => 0, is_nullable => 0 },
91   "frameworkcode",
92   { data_type => "varchar", default_value => "", is_nullable => 0, size => 4 },
93   "author",
94   { data_type => "mediumtext", is_nullable => 1 },
95   "title",
96   { data_type => "mediumtext", is_nullable => 1 },
97   "unititle",
98   { data_type => "mediumtext", is_nullable => 1 },
99   "notes",
100   { data_type => "mediumtext", is_nullable => 1 },
101   "serial",
102   { data_type => "tinyint", is_nullable => 1 },
103   "seriestitle",
104   { data_type => "mediumtext", is_nullable => 1 },
105   "copyrightdate",
106   { data_type => "smallint", is_nullable => 1 },
107   "timestamp",
108   {
109     data_type     => "timestamp",
110     default_value => \"current_timestamp",
111     is_nullable   => 0,
112   },
113   "datecreated",
114   { data_type => "date", is_nullable => 0 },
115   "abstract",
116   { data_type => "mediumtext", is_nullable => 1 },
117 );
118 __PACKAGE__->set_primary_key("biblionumber");
119
120
121 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
122 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:/x/M9xGCkN5ClHrk1GUELw
123
124
125 # You can replace this text with custom content, and it will be preserved on regeneration
126 1;