2 package Koha::Schema::Result::Accountoffset;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Accountoffset
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<accountoffsets>
22 __PACKAGE__->table("accountoffsets");
53 data_type: 'timestamp'
54 datetime_undef_if_invalid: 1
55 default_value: current_timestamp
60 __PACKAGE__->add_columns(
63 data_type => "integer",
69 { data_type => "smallint", default_value => 0, is_nullable => 0 },
71 { data_type => "smallint", default_value => 0, is_nullable => 0 },
73 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
76 data_type => "timestamp",
77 datetime_undef_if_invalid => 1,
78 default_value => \"current_timestamp",
89 Related object: L<Koha::Schema::Result::Borrower>
93 __PACKAGE__->belongs_to(
95 "Koha::Schema::Result::Borrower",
96 { borrowernumber => "borrowernumber" },
97 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
101 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
102 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:OTfcUiJCPb5aU/gjqAb/bA
105 # You can replace this text with custom content, and it will be preserved on regeneration