Bug 5087: Ability to define whether CSV profile shows in OPAC
[koha.git] / Koha / Schema / Result / Alert.pm
blob2fae361efad37fc7a6e55b55d783167555864f73
1 use utf8;
2 package Koha::Schema::Result::Alert;
4 # Created by DBIx::Class::Schema::Loader
5 # DO NOT MODIFY THE FIRST PART OF THIS FILE
7 =head1 NAME
9 Koha::Schema::Result::Alert
11 =cut
13 use strict;
14 use warnings;
16 use base 'DBIx::Class::Core';
18 =head1 TABLE: C<alert>
20 =cut
22 __PACKAGE__->table("alert");
24 =head1 ACCESSORS
26 =head2 alertid
28 data_type: 'integer'
29 is_auto_increment: 1
30 is_nullable: 0
32 =head2 borrowernumber
34 data_type: 'integer'
35 default_value: 0
36 is_nullable: 0
38 =head2 type
40 data_type: 'varchar'
41 default_value: (empty string)
42 is_nullable: 0
43 size: 10
45 =head2 externalid
47 data_type: 'varchar'
48 default_value: (empty string)
49 is_nullable: 0
50 size: 20
52 =cut
54 __PACKAGE__->add_columns(
55 "alertid",
56 { data_type => "integer", is_auto_increment => 1, is_nullable => 0 },
57 "borrowernumber",
58 { data_type => "integer", default_value => 0, is_nullable => 0 },
59 "type",
60 { data_type => "varchar", default_value => "", is_nullable => 0, size => 10 },
61 "externalid",
62 { data_type => "varchar", default_value => "", is_nullable => 0, size => 20 },
65 =head1 PRIMARY KEY
67 =over 4
69 =item * L</alertid>
71 =back
73 =cut
75 __PACKAGE__->set_primary_key("alertid");
78 # Created by DBIx::Class::Schema::Loader v0.07025 @ 2013-10-14 20:56:21
79 # DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:O4b7dlkDRkE6WLPKI5AO+A
82 # You can replace this text with custom content, and it will be preserved on regeneration