2 package Koha::Schema::Result::Illrequestattribute;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
9 Koha::Schema::Result::Illrequestattribute
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<illrequestattributes>
22 __PACKAGE__->table("illrequestattributes");
29 extra: {unsigned => 1}
45 data_type: 'mediumtext'
48 API ILL property value
56 Is this attribute read only
60 __PACKAGE__->add_columns(
63 data_type => "bigint",
64 extra => { unsigned => 1 },
69 { data_type => "varchar", is_nullable => 0, size => 200 },
71 { data_type => "mediumtext", is_nullable => 0 },
73 { data_type => "tinyint", default_value => 1, is_nullable => 0 },
80 =item * L</illrequest_id>
88 __PACKAGE__->set_primary_key("illrequest_id", "type");
96 Related object: L<Koha::Schema::Result::Illrequest>
100 __PACKAGE__->belongs_to(
102 "Koha::Schema::Result::Illrequest",
103 { illrequest_id => "illrequest_id" },
104 { is_deferrable => 1, on_delete => "CASCADE", on_update => "CASCADE" },
108 # Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29
109 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:qNhL5kiGVR8WroCHQY5DyQ
111 __PACKAGE__->add_columns(
112 '+readonly' => { is_boolean => 1 }