Bug 22318: DBRev 18.12.00.058
[koha-equinox.git] / Koha / Schema / Result / Statistic.pm
1 use utf8;
2 package Koha::Schema::Result::Statistic;
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::Statistic
10
11 =cut
12
13 use strict;
14 use warnings;
15
16 use base 'DBIx::Class::Core';
17
18 =head1 TABLE: C<statistics>
19
20 =cut
21
22 __PACKAGE__->table("statistics");
23
24 =head1 ACCESSORS
25
26 =head2 datetime
27
28   data_type: 'datetime'
29   datetime_undef_if_invalid: 1
30   is_nullable: 1
31
32 =head2 branch
33
34   data_type: 'varchar'
35   is_nullable: 1
36   size: 10
37
38 =head2 value
39
40   data_type: 'double precision'
41   is_nullable: 1
42   size: [16,4]
43
44 =head2 type
45
46   data_type: 'varchar'
47   is_nullable: 1
48   size: 16
49
50 =head2 other
51
52   data_type: 'longtext'
53   is_nullable: 1
54
55 =head2 itemnumber
56
57   data_type: 'integer'
58   is_nullable: 1
59
60 =head2 itemtype
61
62   data_type: 'varchar'
63   is_nullable: 1
64   size: 10
65
66 =head2 location
67
68   data_type: 'varchar'
69   is_nullable: 1
70   size: 80
71
72 =head2 borrowernumber
73
74   data_type: 'integer'
75   is_nullable: 1
76
77 =head2 ccode
78
79   data_type: 'varchar'
80   is_nullable: 1
81   size: 80
82
83 =cut
84
85 __PACKAGE__->add_columns(
86   "datetime",
87   {
88     data_type => "datetime",
89     datetime_undef_if_invalid => 1,
90     is_nullable => 1,
91   },
92   "branch",
93   { data_type => "varchar", is_nullable => 1, size => 10 },
94   "value",
95   { data_type => "double precision", is_nullable => 1, size => [16, 4] },
96   "type",
97   { data_type => "varchar", is_nullable => 1, size => 16 },
98   "other",
99   { data_type => "longtext", is_nullable => 1 },
100   "itemnumber",
101   { data_type => "integer", is_nullable => 1 },
102   "itemtype",
103   { data_type => "varchar", is_nullable => 1, size => 10 },
104   "location",
105   { data_type => "varchar", is_nullable => 1, size => 80 },
106   "borrowernumber",
107   { data_type => "integer", is_nullable => 1 },
108   "ccode",
109   { data_type => "varchar", is_nullable => 1, size => 80 },
110 );
111
112
113 # Created by DBIx::Class::Schema::Loader v0.07046 @ 2019-04-18 10:07:43
114 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:dzoFXsATo16GZERh8LYT2A
115
116
117 # You can replace this text with custom content, and it will be preserved on regeneration
118 1;