yp_library.external_models module

元培书房数据库模型

class yp_library.external_models.BookInfo(*args, **kwargs)[源代码]

基类:Model

书籍信息

exception DoesNotExist

基类:ObjectDoesNotExist

exception MultipleObjectsReturned

基类:MultipleObjectsReturned

author

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

marcid

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
publisher

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

reqno

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

title

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class yp_library.external_models.LendRecords(*args, **kwargs)[源代码]

基类:Model

图书的借阅记录

exception DoesNotExist

基类:ObjectDoesNotExist

exception MultipleObjectsReturned

基类:MultipleObjectsReturned

barcode

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

due_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

get_next_by_due_time(*, field=<django.db.models.fields.DateTimeField: due_time>, is_next=True, **kwargs)
get_next_by_lend_time(*, field=<django.db.models.fields.DateTimeField: lend_time>, is_next=True, **kwargs)
get_previous_by_due_time(*, field=<django.db.models.fields.DateTimeField: due_time>, is_next=False, **kwargs)
get_previous_by_lend_time(*, field=<django.db.models.fields.DateTimeField: lend_time>, is_next=False, **kwargs)
isreturn

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

lend_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

lid

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
overdays

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

return_time

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

rid

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

class yp_library.external_models.Readers(*args, **kwargs)[源代码]

基类:Model

读者信息

exception DoesNotExist

基类:ObjectDoesNotExist

exception MultipleObjectsReturned

基类:MultipleObjectsReturned

idcardno

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.

objects = <django.db.models.manager.Manager object>
rid

A wrapper for a deferred-loading field. When the value is read from this object the first time, the query is executed.