Bug 13069 - (follow-up) Enable sort by title to ignore articles
[koha.git] / Koha / Schema / Result / Subscriptionhistory.pm
1 use utf8;
2 package Koha::Schema::Result::Subscriptionhistory;
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::Subscriptionhistory
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<subscriptionhistory>
19
20 =cut
21
22 __PACKAGE__->table("subscriptionhistory");
23
24 =head1 ACCESSORS
25
26 =head2 biblionumber
27
28   data_type: 'integer'
29   default_value: 0
30   is_nullable: 0
31
32 =head2 subscriptionid
33
34   data_type: 'integer'
35   default_value: 0
36   is_nullable: 0
37
38 =head2 histstartdate
39
40   data_type: 'date'
41   datetime_undef_if_invalid: 1
42   is_nullable: 1
43
44 =head2 histenddate
45
46   data_type: 'date'
47   datetime_undef_if_invalid: 1
48   is_nullable: 1
49
50 =head2 missinglist
51
52   data_type: 'longtext'
53   is_nullable: 0
54
55 =head2 recievedlist
56
57   data_type: 'longtext'
58   is_nullable: 0
59
60 =head2 opacnote
61
62   data_type: 'varchar'
63   default_value: (empty string)
64   is_nullable: 0
65   size: 150
66
67 =head2 librariannote
68
69   data_type: 'varchar'
70   default_value: (empty string)
71   is_nullable: 0
72   size: 150
73
74 =cut
75
76 __PACKAGE__->add_columns(
77   "biblionumber",
78   { data_type => "integer", default_value => 0, is_nullable => 0 },
79   "subscriptionid",
80   { data_type => "integer", default_value => 0, is_nullable => 0 },
81   "histstartdate",
82   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
83   "histenddate",
84   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
85   "missinglist",
86   { data_type => "longtext", is_nullable => 0 },
87   "recievedlist",
88   { data_type => "longtext", is_nullable => 0 },
89   "opacnote",
90   { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
91   "librariannote",
92   { data_type => "varchar", default_value => "", is_nullable => 0, size => 150 },
93 );
94
95 =head1 PRIMARY KEY
96
97 =over 4
98
99 =item * L</subscriptionid>
100
101 =back
102
103 =cut
104
105 __PACKAGE__->set_primary_key("subscriptionid");
106
107
108 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
109 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:+cXluRE1oKiCGOgwq1bhJw
110
111
112 # You can replace this text with custom content, and it will be preserved on regeneration
113 1;