Lines 29-57
__PACKAGE__->table("deletedborrowers");
Link Here
|
29 |
default_value: 0 |
29 |
default_value: 0 |
30 |
is_nullable: 0 |
30 |
is_nullable: 0 |
31 |
|
31 |
|
32 |
primary key, Koha assigned ID number for patrons/borrowers |
|
|
33 |
|
34 |
=head2 cardnumber |
32 |
=head2 cardnumber |
35 |
|
33 |
|
36 |
data_type: 'varchar' |
34 |
data_type: 'varchar' |
37 |
is_nullable: 1 |
35 |
is_nullable: 1 |
38 |
size: 32 |
36 |
size: 32 |
39 |
|
37 |
|
40 |
unique key, library assigned ID number for patrons/borrowers |
|
|
41 |
|
42 |
=head2 surname |
38 |
=head2 surname |
43 |
|
39 |
|
44 |
data_type: 'longtext' |
40 |
data_type: 'longtext' |
45 |
is_nullable: 1 |
41 |
is_nullable: 1 |
46 |
|
42 |
|
47 |
patron/borrower's last name (surname) |
|
|
48 |
|
49 |
=head2 firstname |
43 |
=head2 firstname |
50 |
|
44 |
|
51 |
data_type: 'mediumtext' |
45 |
data_type: 'mediumtext' |
52 |
is_nullable: 1 |
46 |
is_nullable: 1 |
53 |
|
47 |
|
54 |
patron/borrower's first name |
48 |
=head2 preferred_name |
|
|
49 |
|
50 |
data_type: 'longtext' |
51 |
is_nullable: 1 |
52 |
|
53 |
patron/borrower's preferred name |
55 |
|
54 |
|
56 |
=head2 middle_name |
55 |
=head2 middle_name |
57 |
|
56 |
|
Lines 65-279
patron/borrower's middle name
Link Here
|
65 |
data_type: 'longtext' |
64 |
data_type: 'longtext' |
66 |
is_nullable: 1 |
65 |
is_nullable: 1 |
67 |
|
66 |
|
68 |
patron/borrower's title, for example: Mr. or Mrs. |
|
|
69 |
|
70 |
=head2 othernames |
67 |
=head2 othernames |
71 |
|
68 |
|
72 |
data_type: 'longtext' |
69 |
data_type: 'longtext' |
73 |
is_nullable: 1 |
70 |
is_nullable: 1 |
74 |
|
71 |
|
75 |
any other names associated with the patron/borrower |
|
|
76 |
|
77 |
=head2 initials |
72 |
=head2 initials |
78 |
|
73 |
|
79 |
data_type: 'mediumtext' |
74 |
data_type: 'mediumtext' |
80 |
is_nullable: 1 |
75 |
is_nullable: 1 |
81 |
|
76 |
|
82 |
initials for your patron/borrower |
|
|
83 |
|
84 |
=head2 pronouns |
77 |
=head2 pronouns |
85 |
|
78 |
|
86 |
data_type: 'longtext' |
79 |
data_type: 'longtext' |
87 |
is_nullable: 1 |
80 |
is_nullable: 1 |
88 |
|
81 |
|
89 |
patron/borrower pronouns |
82 |
patron/borrower's pronouns |
90 |
|
83 |
|
91 |
=head2 streetnumber |
84 |
=head2 streetnumber |
92 |
|
85 |
|
93 |
data_type: 'tinytext' |
86 |
data_type: 'tinytext' |
94 |
is_nullable: 1 |
87 |
is_nullable: 1 |
95 |
|
88 |
|
96 |
the house number for your patron/borrower's primary address |
|
|
97 |
|
98 |
=head2 streettype |
89 |
=head2 streettype |
99 |
|
90 |
|
100 |
data_type: 'tinytext' |
91 |
data_type: 'tinytext' |
101 |
is_nullable: 1 |
92 |
is_nullable: 1 |
102 |
|
93 |
|
103 |
the street type (Rd., Blvd, etc) for your patron/borrower's primary address |
|
|
104 |
|
105 |
=head2 address |
94 |
=head2 address |
106 |
|
95 |
|
107 |
data_type: 'longtext' |
96 |
data_type: 'longtext' |
108 |
is_nullable: 1 |
97 |
is_nullable: 1 |
109 |
|
98 |
|
110 |
the first address line for your patron/borrower's primary address |
|
|
111 |
|
112 |
=head2 address2 |
99 |
=head2 address2 |
113 |
|
100 |
|
114 |
data_type: 'mediumtext' |
101 |
data_type: 'mediumtext' |
115 |
is_nullable: 1 |
102 |
is_nullable: 1 |
116 |
|
103 |
|
117 |
the second address line for your patron/borrower's primary address |
|
|
118 |
|
119 |
=head2 city |
104 |
=head2 city |
120 |
|
105 |
|
121 |
data_type: 'longtext' |
106 |
data_type: 'longtext' |
122 |
is_nullable: 1 |
107 |
is_nullable: 1 |
123 |
|
108 |
|
124 |
the city or town for your patron/borrower's primary address |
|
|
125 |
|
126 |
=head2 state |
109 |
=head2 state |
127 |
|
110 |
|
128 |
data_type: 'mediumtext' |
111 |
data_type: 'mediumtext' |
129 |
is_nullable: 1 |
112 |
is_nullable: 1 |
130 |
|
113 |
|
131 |
the state or province for your patron/borrower's primary address |
|
|
132 |
|
133 |
=head2 zipcode |
114 |
=head2 zipcode |
134 |
|
115 |
|
135 |
data_type: 'tinytext' |
116 |
data_type: 'tinytext' |
136 |
is_nullable: 1 |
117 |
is_nullable: 1 |
137 |
|
118 |
|
138 |
the zip or postal code for your patron/borrower's primary address |
|
|
139 |
|
140 |
=head2 country |
119 |
=head2 country |
141 |
|
120 |
|
142 |
data_type: 'mediumtext' |
121 |
data_type: 'mediumtext' |
143 |
is_nullable: 1 |
122 |
is_nullable: 1 |
144 |
|
123 |
|
145 |
the country for your patron/borrower's primary address |
|
|
146 |
|
147 |
=head2 email |
124 |
=head2 email |
148 |
|
125 |
|
149 |
data_type: 'longtext' |
126 |
data_type: 'longtext' |
150 |
is_nullable: 1 |
127 |
is_nullable: 1 |
151 |
|
128 |
|
152 |
the primary email address for your patron/borrower's primary address |
|
|
153 |
|
154 |
=head2 phone |
129 |
=head2 phone |
155 |
|
130 |
|
156 |
data_type: 'mediumtext' |
131 |
data_type: 'mediumtext' |
157 |
is_nullable: 1 |
132 |
is_nullable: 1 |
158 |
|
133 |
|
159 |
the primary phone number for your patron/borrower's primary address |
|
|
160 |
|
161 |
=head2 mobile |
134 |
=head2 mobile |
162 |
|
135 |
|
163 |
data_type: 'tinytext' |
136 |
data_type: 'tinytext' |
164 |
is_nullable: 1 |
137 |
is_nullable: 1 |
165 |
|
138 |
|
166 |
the other phone number for your patron/borrower's primary address |
|
|
167 |
|
168 |
=head2 fax |
139 |
=head2 fax |
169 |
|
140 |
|
170 |
data_type: 'longtext' |
141 |
data_type: 'longtext' |
171 |
is_nullable: 1 |
142 |
is_nullable: 1 |
172 |
|
143 |
|
173 |
the fax number for your patron/borrower's primary address |
|
|
174 |
|
175 |
=head2 emailpro |
144 |
=head2 emailpro |
176 |
|
145 |
|
177 |
data_type: 'mediumtext' |
146 |
data_type: 'mediumtext' |
178 |
is_nullable: 1 |
147 |
is_nullable: 1 |
179 |
|
148 |
|
180 |
the secondary email addres for your patron/borrower's primary address |
|
|
181 |
|
182 |
=head2 phonepro |
149 |
=head2 phonepro |
183 |
|
150 |
|
184 |
data_type: 'mediumtext' |
151 |
data_type: 'mediumtext' |
185 |
is_nullable: 1 |
152 |
is_nullable: 1 |
186 |
|
153 |
|
187 |
the secondary phone number for your patron/borrower's primary address |
|
|
188 |
|
189 |
=head2 B_streetnumber |
154 |
=head2 B_streetnumber |
190 |
|
155 |
|
191 |
accessor: 'b_streetnumber' |
156 |
accessor: 'b_streetnumber' |
192 |
data_type: 'tinytext' |
157 |
data_type: 'tinytext' |
193 |
is_nullable: 1 |
158 |
is_nullable: 1 |
194 |
|
159 |
|
195 |
the house number for your patron/borrower's alternate address |
|
|
196 |
|
197 |
=head2 B_streettype |
160 |
=head2 B_streettype |
198 |
|
161 |
|
199 |
accessor: 'b_streettype' |
162 |
accessor: 'b_streettype' |
200 |
data_type: 'tinytext' |
163 |
data_type: 'tinytext' |
201 |
is_nullable: 1 |
164 |
is_nullable: 1 |
202 |
|
165 |
|
203 |
the street type (Rd., Blvd, etc) for your patron/borrower's alternate address |
|
|
204 |
|
205 |
=head2 B_address |
166 |
=head2 B_address |
206 |
|
167 |
|
207 |
accessor: 'b_address' |
168 |
accessor: 'b_address' |
208 |
data_type: 'mediumtext' |
169 |
data_type: 'mediumtext' |
209 |
is_nullable: 1 |
170 |
is_nullable: 1 |
210 |
|
171 |
|
211 |
the first address line for your patron/borrower's alternate address |
|
|
212 |
|
213 |
=head2 B_address2 |
172 |
=head2 B_address2 |
214 |
|
173 |
|
215 |
accessor: 'b_address2' |
174 |
accessor: 'b_address2' |
216 |
data_type: 'mediumtext' |
175 |
data_type: 'mediumtext' |
217 |
is_nullable: 1 |
176 |
is_nullable: 1 |
218 |
|
177 |
|
219 |
the second address line for your patron/borrower's alternate address |
|
|
220 |
|
221 |
=head2 B_city |
178 |
=head2 B_city |
222 |
|
179 |
|
223 |
accessor: 'b_city' |
180 |
accessor: 'b_city' |
224 |
data_type: 'longtext' |
181 |
data_type: 'longtext' |
225 |
is_nullable: 1 |
182 |
is_nullable: 1 |
226 |
|
183 |
|
227 |
the city or town for your patron/borrower's alternate address |
|
|
228 |
|
229 |
=head2 B_state |
184 |
=head2 B_state |
230 |
|
185 |
|
231 |
accessor: 'b_state' |
186 |
accessor: 'b_state' |
232 |
data_type: 'mediumtext' |
187 |
data_type: 'mediumtext' |
233 |
is_nullable: 1 |
188 |
is_nullable: 1 |
234 |
|
189 |
|
235 |
the state for your patron/borrower's alternate address |
|
|
236 |
|
237 |
=head2 B_zipcode |
190 |
=head2 B_zipcode |
238 |
|
191 |
|
239 |
accessor: 'b_zipcode' |
192 |
accessor: 'b_zipcode' |
240 |
data_type: 'tinytext' |
193 |
data_type: 'tinytext' |
241 |
is_nullable: 1 |
194 |
is_nullable: 1 |
242 |
|
195 |
|
243 |
the zip or postal code for your patron/borrower's alternate address |
|
|
244 |
|
245 |
=head2 B_country |
196 |
=head2 B_country |
246 |
|
197 |
|
247 |
accessor: 'b_country' |
198 |
accessor: 'b_country' |
248 |
data_type: 'mediumtext' |
199 |
data_type: 'mediumtext' |
249 |
is_nullable: 1 |
200 |
is_nullable: 1 |
250 |
|
201 |
|
251 |
the country for your patron/borrower's alternate address |
|
|
252 |
|
253 |
=head2 B_email |
202 |
=head2 B_email |
254 |
|
203 |
|
255 |
accessor: 'b_email' |
204 |
accessor: 'b_email' |
256 |
data_type: 'mediumtext' |
205 |
data_type: 'mediumtext' |
257 |
is_nullable: 1 |
206 |
is_nullable: 1 |
258 |
|
207 |
|
259 |
the patron/borrower's alternate email address |
|
|
260 |
|
261 |
=head2 B_phone |
208 |
=head2 B_phone |
262 |
|
209 |
|
263 |
accessor: 'b_phone' |
210 |
accessor: 'b_phone' |
264 |
data_type: 'longtext' |
211 |
data_type: 'longtext' |
265 |
is_nullable: 1 |
212 |
is_nullable: 1 |
266 |
|
213 |
|
267 |
the patron/borrower's alternate phone number |
|
|
268 |
|
269 |
=head2 dateofbirth |
214 |
=head2 dateofbirth |
270 |
|
215 |
|
271 |
data_type: 'date' |
216 |
data_type: 'date' |
272 |
datetime_undef_if_invalid: 1 |
217 |
datetime_undef_if_invalid: 1 |
273 |
is_nullable: 1 |
218 |
is_nullable: 1 |
274 |
|
219 |
|
275 |
the patron/borrower's date of birth (YYYY-MM-DD) |
|
|
276 |
|
277 |
=head2 branchcode |
220 |
=head2 branchcode |
278 |
|
221 |
|
279 |
data_type: 'varchar' |
222 |
data_type: 'varchar' |
Lines 281-288
the patron/borrower's date of birth (YYYY-MM-DD)
Link Here
|
281 |
is_nullable: 0 |
224 |
is_nullable: 0 |
282 |
size: 10 |
225 |
size: 10 |
283 |
|
226 |
|
284 |
foreign key from the branches table, includes the code of the patron/borrower's home branch |
|
|
285 |
|
286 |
=head2 categorycode |
227 |
=head2 categorycode |
287 |
|
228 |
|
288 |
data_type: 'varchar' |
229 |
data_type: 'varchar' |
Lines 290-411
foreign key from the branches table, includes the code of the patron/borrower's
Link Here
|
290 |
is_nullable: 0 |
231 |
is_nullable: 0 |
291 |
size: 10 |
232 |
size: 10 |
292 |
|
233 |
|
293 |
foreign key from the categories table, includes the code of the patron category |
|
|
294 |
|
295 |
=head2 dateenrolled |
234 |
=head2 dateenrolled |
296 |
|
235 |
|
297 |
data_type: 'date' |
236 |
data_type: 'date' |
298 |
datetime_undef_if_invalid: 1 |
237 |
datetime_undef_if_invalid: 1 |
299 |
is_nullable: 1 |
238 |
is_nullable: 1 |
300 |
|
239 |
|
301 |
date the patron was added to Koha (YYYY-MM-DD) |
|
|
302 |
|
303 |
=head2 dateexpiry |
240 |
=head2 dateexpiry |
304 |
|
241 |
|
305 |
data_type: 'date' |
242 |
data_type: 'date' |
306 |
datetime_undef_if_invalid: 1 |
243 |
datetime_undef_if_invalid: 1 |
307 |
is_nullable: 1 |
244 |
is_nullable: 1 |
308 |
|
245 |
|
309 |
date the patron/borrower's card is set to expire (YYYY-MM-DD) |
|
|
310 |
|
311 |
=head2 password_expiration_date |
246 |
=head2 password_expiration_date |
312 |
|
247 |
|
313 |
data_type: 'date' |
248 |
data_type: 'date' |
314 |
datetime_undef_if_invalid: 1 |
249 |
datetime_undef_if_invalid: 1 |
315 |
is_nullable: 1 |
250 |
is_nullable: 1 |
316 |
|
251 |
|
317 |
date the patron/borrower's password is set to expire (YYYY-MM-DD) |
|
|
318 |
|
319 |
=head2 date_renewed |
252 |
=head2 date_renewed |
320 |
|
253 |
|
321 |
data_type: 'date' |
254 |
data_type: 'date' |
322 |
datetime_undef_if_invalid: 1 |
255 |
datetime_undef_if_invalid: 1 |
323 |
is_nullable: 1 |
256 |
is_nullable: 1 |
324 |
|
257 |
|
325 |
date the patron/borrower's card was last renewed |
|
|
326 |
|
327 |
=head2 gonenoaddress |
258 |
=head2 gonenoaddress |
328 |
|
259 |
|
329 |
data_type: 'tinyint' |
260 |
data_type: 'tinyint' |
330 |
is_nullable: 1 |
261 |
is_nullable: 1 |
331 |
|
262 |
|
332 |
set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having an unconfirmed address |
|
|
333 |
|
334 |
=head2 lost |
263 |
=head2 lost |
335 |
|
264 |
|
336 |
data_type: 'tinyint' |
265 |
data_type: 'tinyint' |
337 |
is_nullable: 1 |
266 |
is_nullable: 1 |
338 |
|
267 |
|
339 |
set to 1 for yes and 0 for no, flag to note that library marked this patron/borrower as having lost their card |
|
|
340 |
|
341 |
=head2 debarred |
268 |
=head2 debarred |
342 |
|
269 |
|
343 |
data_type: 'date' |
270 |
data_type: 'date' |
344 |
datetime_undef_if_invalid: 1 |
271 |
datetime_undef_if_invalid: 1 |
345 |
is_nullable: 1 |
272 |
is_nullable: 1 |
346 |
|
273 |
|
347 |
until this date the patron can only check-in (no loans, no holds, etc.), is a fine based on days instead of money (YYYY-MM-DD) |
|
|
348 |
|
349 |
=head2 debarredcomment |
274 |
=head2 debarredcomment |
350 |
|
275 |
|
351 |
data_type: 'varchar' |
276 |
data_type: 'varchar' |
352 |
is_nullable: 1 |
277 |
is_nullable: 1 |
353 |
size: 255 |
278 |
size: 255 |
354 |
|
279 |
|
355 |
comment on the stop of patron |
|
|
356 |
|
357 |
=head2 contactname |
280 |
=head2 contactname |
358 |
|
281 |
|
359 |
data_type: 'longtext' |
282 |
data_type: 'longtext' |
360 |
is_nullable: 1 |
283 |
is_nullable: 1 |
361 |
|
284 |
|
362 |
used for children and profesionals to include surname or last name of guarantor or organization name |
|
|
363 |
|
364 |
=head2 contactfirstname |
285 |
=head2 contactfirstname |
365 |
|
286 |
|
366 |
data_type: 'mediumtext' |
287 |
data_type: 'mediumtext' |
367 |
is_nullable: 1 |
288 |
is_nullable: 1 |
368 |
|
289 |
|
369 |
used for children to include first name of guarantor |
|
|
370 |
|
371 |
=head2 contacttitle |
290 |
=head2 contacttitle |
372 |
|
291 |
|
373 |
data_type: 'mediumtext' |
292 |
data_type: 'mediumtext' |
374 |
is_nullable: 1 |
293 |
is_nullable: 1 |
375 |
|
294 |
|
376 |
used for children to include title (Mr., Mrs., etc) of guarantor |
|
|
377 |
|
378 |
=head2 borrowernotes |
295 |
=head2 borrowernotes |
379 |
|
296 |
|
380 |
data_type: 'longtext' |
297 |
data_type: 'longtext' |
381 |
is_nullable: 1 |
298 |
is_nullable: 1 |
382 |
|
299 |
|
383 |
a note on the patron/borrower's account that is only visible in the staff interface |
|
|
384 |
|
385 |
=head2 relationship |
300 |
=head2 relationship |
386 |
|
301 |
|
387 |
data_type: 'varchar' |
302 |
data_type: 'varchar' |
388 |
is_nullable: 1 |
303 |
is_nullable: 1 |
389 |
size: 100 |
304 |
size: 100 |
390 |
|
305 |
|
391 |
used for children to include the relationship to their guarantor |
|
|
392 |
|
393 |
=head2 sex |
306 |
=head2 sex |
394 |
|
307 |
|
395 |
data_type: 'varchar' |
308 |
data_type: 'varchar' |
396 |
is_nullable: 1 |
309 |
is_nullable: 1 |
397 |
size: 1 |
310 |
size: 1 |
398 |
|
311 |
|
399 |
patron/borrower's gender |
|
|
400 |
|
401 |
=head2 password |
312 |
=head2 password |
402 |
|
313 |
|
403 |
data_type: 'varchar' |
314 |
data_type: 'varchar' |
404 |
is_nullable: 1 |
315 |
is_nullable: 1 |
405 |
size: 60 |
316 |
size: 60 |
406 |
|
317 |
|
407 |
patron/borrower's encrypted password |
|
|
408 |
|
409 |
=head2 secret |
318 |
=head2 secret |
410 |
|
319 |
|
411 |
data_type: 'mediumtext' |
320 |
data_type: 'mediumtext' |
Lines 435-575
will include a number associated with the staff member's permissions
Link Here
|
435 |
is_nullable: 1 |
344 |
is_nullable: 1 |
436 |
size: 75 |
345 |
size: 75 |
437 |
|
346 |
|
438 |
patron/borrower's opac and/or staff interface log in |
|
|
439 |
|
440 |
=head2 opacnote |
347 |
=head2 opacnote |
441 |
|
348 |
|
442 |
data_type: 'longtext' |
349 |
data_type: 'longtext' |
443 |
is_nullable: 1 |
350 |
is_nullable: 1 |
444 |
|
351 |
|
445 |
a note on the patron/borrower's account that is visible in the OPAC and staff interface |
|
|
446 |
|
447 |
=head2 contactnote |
352 |
=head2 contactnote |
448 |
|
353 |
|
449 |
data_type: 'varchar' |
354 |
data_type: 'varchar' |
450 |
is_nullable: 1 |
355 |
is_nullable: 1 |
451 |
size: 255 |
356 |
size: 255 |
452 |
|
357 |
|
453 |
a note related to the patron/borrower's alternate address |
|
|
454 |
|
455 |
=head2 sort1 |
358 |
=head2 sort1 |
456 |
|
359 |
|
457 |
data_type: 'varchar' |
360 |
data_type: 'varchar' |
458 |
is_nullable: 1 |
361 |
is_nullable: 1 |
459 |
size: 80 |
362 |
size: 80 |
460 |
|
363 |
|
461 |
a field that can be used for any information unique to the library |
|
|
462 |
|
463 |
=head2 sort2 |
364 |
=head2 sort2 |
464 |
|
365 |
|
465 |
data_type: 'varchar' |
366 |
data_type: 'varchar' |
466 |
is_nullable: 1 |
367 |
is_nullable: 1 |
467 |
size: 80 |
368 |
size: 80 |
468 |
|
369 |
|
469 |
a field that can be used for any information unique to the library |
|
|
470 |
|
471 |
=head2 altcontactfirstname |
370 |
=head2 altcontactfirstname |
472 |
|
371 |
|
473 |
data_type: 'mediumtext' |
372 |
data_type: 'mediumtext' |
474 |
is_nullable: 1 |
373 |
is_nullable: 1 |
475 |
|
374 |
|
476 |
first name of alternate contact for the patron/borrower |
|
|
477 |
|
478 |
=head2 altcontactsurname |
375 |
=head2 altcontactsurname |
479 |
|
376 |
|
480 |
data_type: 'mediumtext' |
377 |
data_type: 'mediumtext' |
481 |
is_nullable: 1 |
378 |
is_nullable: 1 |
482 |
|
379 |
|
483 |
surname or last name of the alternate contact for the patron/borrower |
|
|
484 |
|
485 |
=head2 altcontactaddress1 |
380 |
=head2 altcontactaddress1 |
486 |
|
381 |
|
487 |
data_type: 'mediumtext' |
382 |
data_type: 'mediumtext' |
488 |
is_nullable: 1 |
383 |
is_nullable: 1 |
489 |
|
384 |
|
490 |
the first address line for the alternate contact for the patron/borrower |
|
|
491 |
|
492 |
=head2 altcontactaddress2 |
385 |
=head2 altcontactaddress2 |
493 |
|
386 |
|
494 |
data_type: 'mediumtext' |
387 |
data_type: 'mediumtext' |
495 |
is_nullable: 1 |
388 |
is_nullable: 1 |
496 |
|
389 |
|
497 |
the second address line for the alternate contact for the patron/borrower |
|
|
498 |
|
499 |
=head2 altcontactaddress3 |
390 |
=head2 altcontactaddress3 |
500 |
|
391 |
|
501 |
data_type: 'mediumtext' |
392 |
data_type: 'mediumtext' |
502 |
is_nullable: 1 |
393 |
is_nullable: 1 |
503 |
|
394 |
|
504 |
the city for the alternate contact for the patron/borrower |
|
|
505 |
|
506 |
=head2 altcontactstate |
395 |
=head2 altcontactstate |
507 |
|
396 |
|
508 |
data_type: 'mediumtext' |
397 |
data_type: 'mediumtext' |
509 |
is_nullable: 1 |
398 |
is_nullable: 1 |
510 |
|
399 |
|
511 |
the state for the alternate contact for the patron/borrower |
|
|
512 |
|
513 |
=head2 altcontactzipcode |
400 |
=head2 altcontactzipcode |
514 |
|
401 |
|
515 |
data_type: 'mediumtext' |
402 |
data_type: 'mediumtext' |
516 |
is_nullable: 1 |
403 |
is_nullable: 1 |
517 |
|
404 |
|
518 |
the zipcode for the alternate contact for the patron/borrower |
|
|
519 |
|
520 |
=head2 altcontactcountry |
405 |
=head2 altcontactcountry |
521 |
|
406 |
|
522 |
data_type: 'mediumtext' |
407 |
data_type: 'mediumtext' |
523 |
is_nullable: 1 |
408 |
is_nullable: 1 |
524 |
|
409 |
|
525 |
the country for the alternate contact for the patron/borrower |
|
|
526 |
|
527 |
=head2 altcontactphone |
410 |
=head2 altcontactphone |
528 |
|
411 |
|
529 |
data_type: 'mediumtext' |
412 |
data_type: 'mediumtext' |
530 |
is_nullable: 1 |
413 |
is_nullable: 1 |
531 |
|
414 |
|
532 |
the phone number for the alternate contact for the patron/borrower |
|
|
533 |
|
534 |
=head2 smsalertnumber |
415 |
=head2 smsalertnumber |
535 |
|
416 |
|
536 |
data_type: 'varchar' |
417 |
data_type: 'varchar' |
537 |
is_nullable: 1 |
418 |
is_nullable: 1 |
538 |
size: 50 |
419 |
size: 50 |
539 |
|
420 |
|
540 |
the mobile phone number where the patron/borrower would like to receive notices (if SMS turned on) |
|
|
541 |
|
542 |
=head2 sms_provider_id |
421 |
=head2 sms_provider_id |
543 |
|
422 |
|
544 |
data_type: 'integer' |
423 |
data_type: 'integer' |
545 |
is_nullable: 1 |
424 |
is_nullable: 1 |
546 |
|
425 |
|
547 |
the provider of the mobile phone number defined in smsalertnumber |
|
|
548 |
|
549 |
=head2 privacy |
426 |
=head2 privacy |
550 |
|
427 |
|
551 |
data_type: 'integer' |
428 |
data_type: 'integer' |
552 |
default_value: 1 |
429 |
default_value: 1 |
553 |
is_nullable: 0 |
430 |
is_nullable: 0 |
554 |
|
431 |
|
555 |
patron/borrower's privacy settings related to their checkout history KEY `borrowernumber` (`borrowernumber`), |
|
|
556 |
|
557 |
=head2 privacy_guarantor_fines |
432 |
=head2 privacy_guarantor_fines |
558 |
|
433 |
|
559 |
data_type: 'tinyint' |
434 |
data_type: 'tinyint' |
560 |
default_value: 0 |
435 |
default_value: 0 |
561 |
is_nullable: 0 |
436 |
is_nullable: 0 |
562 |
|
437 |
|
563 |
controls if relatives can see this patron's fines |
|
|
564 |
|
565 |
=head2 privacy_guarantor_checkouts |
438 |
=head2 privacy_guarantor_checkouts |
566 |
|
439 |
|
567 |
data_type: 'tinyint' |
440 |
data_type: 'tinyint' |
568 |
default_value: 0 |
441 |
default_value: 0 |
569 |
is_nullable: 0 |
442 |
is_nullable: 0 |
570 |
|
443 |
|
571 |
controls if relatives can see this patron's checkouts |
|
|
572 |
|
573 |
=head2 checkprevcheckout |
444 |
=head2 checkprevcheckout |
574 |
|
445 |
|
575 |
data_type: 'varchar' |
446 |
data_type: 'varchar' |
Lines 577-584
controls if relatives can see this patron's checkouts
Link Here
|
577 |
is_nullable: 0 |
448 |
is_nullable: 0 |
578 |
size: 7 |
449 |
size: 7 |
579 |
|
450 |
|
580 |
produce a warning for this patron if this item has previously been checked out to this patron if 'yes', not if 'no', defer to category setting if 'inherit'. |
|
|
581 |
|
582 |
=head2 updated_on |
451 |
=head2 updated_on |
583 |
|
452 |
|
584 |
data_type: 'timestamp' |
453 |
data_type: 'timestamp' |
Lines 594-601
time of last change could be useful for synchronization with external systems (a
Link Here
|
594 |
datetime_undef_if_invalid: 1 |
463 |
datetime_undef_if_invalid: 1 |
595 |
is_nullable: 1 |
464 |
is_nullable: 1 |
596 |
|
465 |
|
597 |
last time a patron has been seen (connected at the OPAC or staff interface) |
|
|
598 |
|
599 |
=head2 lang |
466 |
=head2 lang |
600 |
|
467 |
|
601 |
data_type: 'varchar' |
468 |
data_type: 'varchar' |
Lines 603-649
last time a patron has been seen (connected at the OPAC or staff interface)
Link Here
|
603 |
is_nullable: 0 |
470 |
is_nullable: 0 |
604 |
size: 25 |
471 |
size: 25 |
605 |
|
472 |
|
606 |
lang to use to send notices to this patron |
|
|
607 |
|
608 |
=head2 login_attempts |
473 |
=head2 login_attempts |
609 |
|
474 |
|
610 |
data_type: 'integer' |
475 |
data_type: 'integer' |
611 |
default_value: 0 |
476 |
default_value: 0 |
612 |
is_nullable: 0 |
477 |
is_nullable: 0 |
613 |
|
478 |
|
614 |
number of failed login attemps |
|
|
615 |
|
616 |
=head2 overdrive_auth_token |
479 |
=head2 overdrive_auth_token |
617 |
|
480 |
|
618 |
data_type: 'mediumtext' |
481 |
data_type: 'mediumtext' |
619 |
is_nullable: 1 |
482 |
is_nullable: 1 |
620 |
|
483 |
|
621 |
persist OverDrive auth token |
|
|
622 |
|
623 |
=head2 anonymized |
484 |
=head2 anonymized |
624 |
|
485 |
|
625 |
data_type: 'tinyint' |
486 |
data_type: 'tinyint' |
626 |
default_value: 0 |
487 |
default_value: 0 |
627 |
is_nullable: 0 |
488 |
is_nullable: 0 |
628 |
|
489 |
|
629 |
flag for data anonymization |
|
|
630 |
|
631 |
=head2 autorenew_checkouts |
490 |
=head2 autorenew_checkouts |
632 |
|
491 |
|
633 |
data_type: 'tinyint' |
492 |
data_type: 'tinyint' |
634 |
default_value: 1 |
493 |
default_value: 1 |
635 |
is_nullable: 0 |
494 |
is_nullable: 0 |
636 |
|
495 |
|
637 |
flag for allowing auto-renewal |
|
|
638 |
|
639 |
=head2 primary_contact_method |
496 |
=head2 primary_contact_method |
640 |
|
497 |
|
641 |
data_type: 'varchar' |
498 |
data_type: 'varchar' |
642 |
is_nullable: 1 |
499 |
is_nullable: 1 |
643 |
size: 45 |
500 |
size: 45 |
644 |
|
501 |
|
645 |
useful for reporting purposes |
|
|
646 |
|
647 |
=head2 protected |
502 |
=head2 protected |
648 |
|
503 |
|
649 |
data_type: 'tinyint' |
504 |
data_type: 'tinyint' |
Lines 663-668
__PACKAGE__->add_columns(
Link Here
|
663 |
{ data_type => "longtext", is_nullable => 1 }, |
518 |
{ data_type => "longtext", is_nullable => 1 }, |
664 |
"firstname", |
519 |
"firstname", |
665 |
{ data_type => "mediumtext", is_nullable => 1 }, |
520 |
{ data_type => "mediumtext", is_nullable => 1 }, |
|
|
521 |
"preferred_name", |
522 |
{ data_type => "longtext", is_nullable => 1 }, |
666 |
"middle_name", |
523 |
"middle_name", |
667 |
{ data_type => "longtext", is_nullable => 1 }, |
524 |
{ data_type => "longtext", is_nullable => 1 }, |
668 |
"title", |
525 |
"title", |
Lines 848-855
__PACKAGE__->add_columns(
Link Here
|
848 |
); |
705 |
); |
849 |
|
706 |
|
850 |
|
707 |
|
851 |
# Created by DBIx::Class::Schema::Loader v0.07049 @ 2023-11-01 18:21:38 |
708 |
# Created by DBIx::Class::Schema::Loader v0.07052 @ 2024-11-15 15:02:04 |
852 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:WdNGUFdglTb3Heu+VjLWFw |
709 |
# DO NOT MODIFY THIS OR ANYTHING ABOVE! md5sum:4CVBr61zGnR30QlsXFM8nQ |
853 |
|
710 |
|
854 |
__PACKAGE__->add_columns( |
711 |
__PACKAGE__->add_columns( |
855 |
'+anonymized' => { is_boolean => 1 }, |
712 |
'+anonymized' => { is_boolean => 1 }, |