Bug 23152: Implement koha_object[s]_class when needed
[koha-equinox.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: 'longtext'
63   is_nullable: 1
64
65 =head2 librariannote
66
67   data_type: 'longtext'
68   is_nullable: 1
69
70 =cut
71
72 __PACKAGE__->add_columns(
73   "biblionumber",
74   { data_type => "integer", default_value => 0, is_nullable => 0 },
75   "subscriptionid",
76   { data_type => "integer", default_value => 0, is_nullable => 0 },
77   "histstartdate",
78   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
79   "histenddate",
80   { data_type => "date", datetime_undef_if_invalid => 1, is_nullable => 1 },
81   "missinglist",
82   { data_type => "longtext", is_nullable => 0 },
83   "recievedlist",
84   { data_type => "longtext", is_nullable => 0 },
85   "opacnote",
86   { data_type => "longtext", is_nullable => 1 },
87   "librariannote",
88   { data_type => "longtext", is_nullable => 1 },
89 );
90
91 =head1 PRIMARY KEY
92
93 =over 4
94
95 =item * L</subscriptionid>
96
97 =back
98
99 =cut
100
101 __PACKAGE__->set_primary_key("subscriptionid");
102
103
104 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-06-17 07:24:39
105 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:SK33dc7lx/rDGX3tiR84ww
106
107 sub koha_object_class {
108     'Koha::Subscription::History';
109 }
110 sub koha_objects_class {
111     'Koha::Subscription::Historys';
112 }
113
114 1;