Bug 26922: Regression tests
[koha.git] / Koha / Schema / Result / PendingOfflineOperation.pm
blob37e791880de31a8d1950d8e72ff342593da8f944
1 use utf8;
2 package Koha::Schema::Result::PendingOfflineOperation;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::PendingOfflineOperation
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<pending_offline_operations>
20 =cut
22 __PACKAGE__->table("pending_offline_operations");
24 =head1 ACCESSORS
26 =head2 operationid
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 userid
34 data_type: 'varchar'
35 is_nullable: 0
36 size: 30
38 =head2 branchcode
40 data_type: 'varchar'
41 is_nullable: 0
42 size: 10
44 =head2 timestamp
46 data_type: 'timestamp'
47 datetime_undef_if_invalid: 1
48 default_value: current_timestamp
49 is_nullable: 0
51 =head2 action
53 data_type: 'varchar'
54 is_nullable: 0
55 size: 10
57 =head2 barcode
59 data_type: 'varchar'
60 is_nullable: 1
61 size: 20
63 =head2 cardnumber
65 data_type: 'varchar'
66 is_nullable: 1
67 size: 32
69 =head2 amount
71 data_type: 'decimal'
72 is_nullable: 1
73 size: [28,6]
75 =cut
77 __PACKAGE__->add_columns(
78 "operationid",
79 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
80 "userid",
81 { data_type => "varchar", is_nullable => 0, size => 30 },
82 "branchcode",
83 { data_type => "varchar", is_nullable => 0, size => 10 },
84 "timestamp",
86 data_type => "timestamp",
87 datetime_undef_if_invalid => 1,
88 default_value => \"current_timestamp",
89 is_nullable => 0,
91 "action",
92 { data_type => "varchar", is_nullable => 0, size => 10 },
93 "barcode",
94 { data_type => "varchar", is_nullable => 1, size => 20 },
95 "cardnumber",
96 { data_type => "varchar", is_nullable => 1, size => 32 },
97 "amount",
98 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
101 =head1 PRIMARY KEY
103 =over 4
105 =item * L</operationid>
107 =back
109 =cut
111 __PACKAGE__->set_primary_key("operationid");
114 # Created by DBIx::Class::Schema::Loader v0.07042 @ 2017-10-27 13:24:06
115 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EA2gwvRWvFVCPyIB94jCdw
118 # You can replace this text with custom content, and it will be preserved on regeneration