1 package Koha::Schema::Result::AqordersItem;
3 # Created by DBIx::Class::Schema::Loader
4 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 use base 'DBIx::Class::Core';
14 Koha::Schema::Result::AqordersItem
18 __PACKAGE__->table("aqorders_items");
35 data_type: 'timestamp'
36 default_value: current_timestamp
41 __PACKAGE__->add_columns(
43 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
45 { data_type => "integer", is_nullable => 0 },
48 data_type => "timestamp",
49 default_value => \"current_timestamp",
53 __PACKAGE__->set_primary_key("itemnumber");
61 Related object: L<Koha::Schema::Result::Aqorder>
65 __PACKAGE__->belongs_to(
67 "Koha::Schema::Result::Aqorder",
68 { ordernumber => "ordernumber" },
69 { on_delete => "CASCADE", on_update => "CASCADE" },
73 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2013-06-18 13:13:57
74 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:9KFzTfBzan4H1BxT1suyXA
77 # You can replace this text with custom content, and it will be preserved on regeneration