Bug 8798: DBIx::Class base classes for all Koha tables
[koha_fer] / Koha / Schema / Result / Subscriptionhistory.pm
1 package Koha::Schema::Result::Subscriptionhistory;
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::Subscriptionhistory
15
16 =cut
17
18 __PACKAGE__->table("subscriptionhistory");
19
20 =head1 ACCESSORS
21
22 =head2 biblionumber
23
24   data_type: 'integer'
25   default_value: 0
26   is_nullable: 0
27
28 =head2 subscriptionid
29
30   data_type: 'integer'
31   default_value: 0
32   is_nullable: 0
33
34 =head2 histstartdate
35
36   data_type: 'date'
37   is_nullable: 1
38
39 =head2 histenddate
40
41   data_type: 'date'
42   is_nullable: 1
43
44 =head2 missinglist
45
46   data_type: 'longtext'
47   is_nullable: 0
48
49 =head2 recievedlist
50
51   data_type: 'longtext'
52   is_nullable: 0
53
54 =head2 opacnote
55
56   data_type: 'varchar'
57   default_value: (empty string)
58   is_nullable: 0
59   size: 150
60
61 =head2 librariannote
62
63   data_type: 'varchar'
64   default_value: (empty string)
65   is_nullable: 0
66   size: 150
67
68 =cut
69
70 __PACKAGE__->add_columns(
71   "biblionumber",
72   { data_type => "integer", default_value => 0, is_nullable => 0 },
73   "subscriptionid",
74   { data_type => "integer", default_value => 0, is_nullable => 0 },
75   "histstartdate",
76   { data_type => "date", is_nullable => 1 },
77   "histenddate",
78   { data_type => "date", is_nullable => 1 },
79   "missinglist",
80   { data_type => "longtext", is_nullable => 0 },
81   "recievedlist",
82   { data_type => "longtext", is_nullable => 0 },
83   "opacnote",
84   { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
85   "librariannote",
86   { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
87 );
88 __PACKAGE__->set_primary_key("subscriptionid");
89
90
91 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
92 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sAkoymtV5cqWuY1fJi/UXg
93
94
95 # You can replace this text with custom content, and it will be preserved on regeneration
96 1;