1 package Koha::Schema::Result::Aqinvoice;
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::Aqinvoice
18 __PACKAGE__->table("aqinvoices");
30 data_type: 'mediumtext'
60 =head2 shipmentcost_budgetid
68 __PACKAGE__->add_columns(
70 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
72 { data_type => "mediumtext", is_nullable => 0 },
74 { data_type => "integer", is_foreign_key => 1, is_nullable => 0 },
76 { data_type => "date", is_nullable => 1 },
78 { data_type => "date", is_nullable => 1 },
80 { data_type => "date", is_nullable => 1 },
82 { data_type => "decimal", is_nullable => 1, size => [28, 6] },
83 "shipmentcost_budgetid",
84 { data_type => "integer", is_foreign_key => 1, is_nullable => 1 },
86 __PACKAGE__->set_primary_key("invoiceid");
94 Related object: L<Koha::Schema::Result::Aqbookseller>
98 __PACKAGE__->belongs_to(
100 "Koha::Schema::Result::Aqbookseller",
101 { id => "booksellerid" },
102 { on_delete => "CASCADE", on_update => "CASCADE" },
105 =head2 shipmentcost_budgetid
109 Related object: L<Koha::Schema::Result::Aqbudget>
113 __PACKAGE__->belongs_to(
114 "shipmentcost_budgetid",
115 "Koha::Schema::Result::Aqbudget",
116 { budget_id => "shipmentcost_budgetid" },
117 { join_type => "LEFT", on_delete => "CASCADE", on_update => "CASCADE" },
124 Related object: L<Koha::Schema::Result::Aqorder>
128 __PACKAGE__->has_many(
130 "Koha::Schema::Result::Aqorder",
131 { "foreign.invoiceid" => "self.invoiceid" },
132 { cascade_copy => 0, cascade_delete => 0 },
136 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
137 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O5JnKjtyloB4VdJzZMpQng
140 # You can replace this text with custom content, and it will be preserved on regeneration