|
Lines 71-76
ticket details
Link Here
|
| 71 |
|
71 |
|
| 72 |
current status of the ticket |
72 |
current status of the ticket |
| 73 |
|
73 |
|
|
|
74 |
=head2 assignee_id |
| 75 |
|
| 76 |
data_type: 'integer' |
| 77 |
is_foreign_key: 1 |
| 78 |
is_nullable: 1 |
| 79 |
|
| 80 |
id of the user who this ticket is assigned to |
| 81 |
|
| 74 |
=head2 resolver_id |
82 |
=head2 resolver_id |
| 75 |
|
83 |
|
| 76 |
data_type: 'integer' |
84 |
data_type: 'integer' |
|
Lines 120-125
__PACKAGE__->add_columns(
Link Here
|
| 120 |
{ data_type => "text", is_nullable => 0 }, |
128 |
{ data_type => "text", is_nullable => 0 }, |
| 121 |
"status", |
129 |
"status", |
| 122 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
130 |
{ data_type => "varchar", is_nullable => 1, size => 80 }, |
|
|
131 |
"assignee_id", |
| 132 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 123 |
"resolver_id", |
133 |
"resolver_id", |
| 124 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
134 |
{ data_type => "integer", is_foreign_key => 1, is_nullable => 1 }, |
| 125 |
"resolved_date", |
135 |
"resolved_date", |
|
Lines 146-151
__PACKAGE__->set_primary_key("id");
Link Here
|
| 146 |
|
156 |
|
| 147 |
=head1 RELATIONS |
157 |
=head1 RELATIONS |
| 148 |
|
158 |
|
|
|
159 |
=head2 assignee |
| 160 |
|
| 161 |
Type: belongs_to |
| 162 |
|
| 163 |
Related object: L<Koha::Schema::Result::Borrower> |
| 164 |
|
| 165 |
=cut |
| 166 |
|
| 167 |
__PACKAGE__->belongs_to( |
| 168 |
"assignee", |
| 169 |
"Koha::Schema::Result::Borrower", |
| 170 |
{ borrowernumber => "assignee_id" }, |
| 171 |
{ |
| 172 |
is_deferrable => 1, |
| 173 |
join_type => "LEFT", |
| 174 |
on_delete => "CASCADE", |
| 175 |
on_update => "CASCADE", |
| 176 |
}, |
| 177 |
); |
| 178 |
|
| 149 |
=head2 biblio |
179 |
=head2 biblio |
| 150 |
|
180 |
|
| 151 |
Type: belongs_to |
181 |
Type: belongs_to |
|
Lines 217-224
__PACKAGE__->has_many(
Link Here
|
| 217 |
); |
247 |
); |
| 218 |
|
248 |
|
| 219 |
|
249 |
|
| 220 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-12-22 14:51:40 |
250 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-12-29 11:05:09 |
| 221 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:lcKWaA+k/0lw5/6JrFhB1A |
251 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:CluP2ZCuByEcC3E0tLoOkA |
| 222 |
|
252 |
|
| 223 |
|
253 |
|
| 224 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |
254 |
# You can replace this text with custom code or comments, and it will be preserved on regeneration |