InvManage.models.misc

Module Contents

Classes

Object

Model for a generic object.

EventType

Model for event type.

ObjectModel

Model associated with an object.

EventCard

Model for event card to be displayed in the history view.

HistoryFilterState

Model of filter state of the history.

class InvManage.models.misc.Object

Bases: django.db.models.Model

Model for a generic object.

identifier

Unique identifier of the object.

Type

str

name

Name of the object.

Type

str

model

Model associated with the object.

Type

str

identifier
name
model
class InvManage.models.misc.EventType

Bases: django.db.models.Model

Model for event type.

name

Name of the event being triggered.

Type

str

label

Label associated with the event.

Type

str

Returns

Returns the string representation of the label when the event type is queried.

Return type

Label

name
label
__str__(self)
class InvManage.models.misc.ObjectModel

Bases: django.db.models.Model

Model associated with an object.

name

Name of the object.

Type

str

label

Label string of the object.

Type

str

modName

Name of the model associated with the object.

Type

str

Returns

Returns string representation of the label when object model is queried.

Return type

Label

name
label
modName
__str__(self)
class InvManage.models.misc.EventCard

Bases: django.db.models.Model

Model for event card to be displayed in the history view.

obj

Object associated with the event.

Type

OneToOneField

objId

Unique identifier of the object.

Type

str

objname

Name of the object.

Type

str

objmodel

Model of the object.

Type

str

date

Timestamp of the event.

Type

DateField

operation

Type of event.

Type

str

obj
objId
objname
objmodel
date
operation
class InvManage.models.misc.HistoryFilterState

Bases: django.db.models.Model

Model of filter state of the history.

params

Paramameters of the configured filters.

Type

str

params