|
Lines 79-84
the date and time the message was written
Link Here
|
| 79 |
|
79 |
|
| 80 |
creator of message |
80 |
creator of message |
| 81 |
|
81 |
|
|
|
82 |
=head2 patron_read_date |
| 83 |
|
| 84 |
data_type: 'timestamp' |
| 85 |
datetime_undef_if_invalid: 1 |
| 86 |
is_nullable: 1 |
| 87 |
|
| 88 |
date and time the patron dismissed the message |
| 89 |
|
| 82 |
=cut |
90 |
=cut |
| 83 |
|
91 |
|
| 84 |
__PACKAGE__->add_columns( |
92 |
__PACKAGE__->add_columns( |
|
Lines 101-106
__PACKAGE__->add_columns(
Link Here
|
| 101 |
}, |
109 |
}, |
| 102 |
"manager_id", |
110 |
"manager_id", |
| 103 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
111 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
|
|
112 |
"patron_read_date", |
| 113 |
{ |
| 114 |
data_type => "timestamp", |
| 115 |
datetime_undef_if_invalid => 1, |
| 116 |
is_nullable => 1, |
| 117 |
}, |
| 104 |
); |
118 |
); |
| 105 |
|
119 |
|
| 106 |
=head1 PRIMARY KEY |
120 |
=head1 PRIMARY KEY |
|
Lines 153-160
__PACKAGE__->belongs_to(
Link Here
|
| 153 |
); |
167 |
); |
| 154 |
|
168 |
|
| 155 |
|
169 |
|
| 156 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2021-01-21 13:39:29 |
170 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2022-07-11 14:46:25 |
| 157 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:EvxjiNgWGReZ9rEVmS5YVw |
171 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:sV76ZU40dAuYXJEhxyDRZA |
| 158 |
|
172 |
|
| 159 |
sub koha_object_class { |
173 |
sub koha_object_class { |
| 160 |
'Koha::Patron::Message'; |
174 |
'Koha::Patron::Message'; |
| 161 |
- |
|
|