Bug 32257: Label for patron attributes misaligned
[koha-ffzg.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 date and time of the transaction
33
34 =head2 branch
35
36   data_type: 'varchar'
37   is_nullable: 1
38   size: 10
39
40 foreign key, branch where the transaction occurred
41
42 =head2 value
43
44   data_type: 'double precision'
45   is_nullable: 1
46   size: [16,4]
47
48 monetary value associated with the transaction
49
50 =head2 type
51
52   data_type: 'varchar'
53   is_nullable: 1
54   size: 16
55
56 transaction type (localuse, issue, return, renew, writeoff, payment)
57
58 =head2 other
59
60   data_type: 'longtext'
61   is_nullable: 1
62
63 used by SIP
64
65 =head2 itemnumber
66
67   data_type: 'integer'
68   is_nullable: 1
69
70 foreign key from the items table, links transaction to a specific item
71
72 =head2 itemtype
73
74   data_type: 'varchar'
75   is_nullable: 1
76   size: 10
77
78 foreign key from the itemtypes table, links transaction to a specific item type
79
80 =head2 location
81
82   data_type: 'varchar'
83   is_nullable: 1
84   size: 80
85
86 authorized value for the shelving location for this item (MARC21 952$c)
87
88 =head2 borrowernumber
89
90   data_type: 'integer'
91   is_nullable: 1
92
93 foreign key from the borrowers table, links transaction to a specific borrower
94
95 =head2 ccode
96
97   data_type: 'varchar'
98   is_nullable: 1
99   size: 80
100
101 foreign key from the items table, links transaction to a specific collection code
102
103 =head2 categorycode
104
105   data_type: 'varchar'
106   is_nullable: 1
107   size: 10
108
109 foreign key from the borrowers table, links transaction to a specific borrower category
110
111 =cut
112
113 __PACKAGE__->add_columns(
114   "datetime",
115   {
116     data_type => "datetime",
117     datetime_undef_if_invalid => 1,
118     is_nullable => 1,
119   },
120   "branch",
121   { data_type => "varchar", is_nullable => 1, size => 10 },
122   "value",
123   { data_type => "double precision", is_nullable => 1, size => [16, 4] },
124   "type",
125   { data_type => "varchar", is_nullable => 1, size => 16 },
126   "other",
127   { data_type => "longtext", is_nullable => 1 },
128   "itemnumber",
129   { data_type => "integer", is_nullable => 1 },
130   "itemtype",
131   { data_type => "varchar", is_nullable => 1, size => 10 },
132   "location",
133   { data_type => "varchar", is_nullable => 1, size => 80 },
134   "borrowernumber",
135   { data_type => "integer", is_nullable => 1 },
136   "ccode",
137   { data_type => "varchar", is_nullable => 1, size => 80 },
138   "categorycode",
139   { data_type => "varchar", is_nullable => 1, size => 10 },
140 );
141
142
143 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-09-22 12:36:29
144 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:q1L7HqO/OkyzmiUcO3c0gg
145
146
147 # You can replace this text with custom content, and it will be preserved on regeneration
148 1;