1 package Koha::Schema::Result::PrintersProfile;
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::PrintersProfile
18 __PACKAGE__->table("printers_profile");
31 default_value: 'Default Printer'
44 default_value: 'Bypass'
75 default_value: 'POINT'
82 default_value: 'Labels'
88 __PACKAGE__->add_columns(
90 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
93 data_type => "varchar",
94 default_value => "Default Printer",
99 { data_type => "integer", default_value => 0, is_nullable => 0 },
102 data_type => "varchar",
103 default_value => "Bypass",
108 { data_type => "float", default_value => 0, is_nullable => 0 },
110 { data_type => "float", default_value => 0, is_nullable => 0 },
112 { data_type => "float", default_value => 0, is_nullable => 0 },
114 { data_type => "float", default_value => 0, is_nullable => 0 },
116 { data_type => "char", default_value => "POINT", is_nullable => 0, size => 20 },
120 default_value => "Labels",
125 __PACKAGE__->set_primary_key("profile_id");
126 __PACKAGE__->add_unique_constraint(
128 ["printer_name", "template_id", "paper_bin", "creator"],
132 # Created by DBIx::Class::Schema::Loader v0.07000 @ 2012-09-02 08:44:15
133 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:1hyMy9lC23Te5l2gW++DVA
136 # You can replace this text with custom content, and it will be preserved on regeneration