EntityLogEntry

class app.portfolio.models.entity.entity_log.EntityLogEntry[source]

Bases: SingleInitializationModel

Inheritance diagram of EntityLogEntry

Inheritance Diagram for EntityLogEntry

Methods

model_post_init(context)

Attributes

model_config

Configuration for the model, should be a dictionary conforming to ConfigDict.

record_deleted

record_exists

what

when

who

why

diff

version

reverted

diff: Annotated[frozendict[str, Any], PydanticFrozenDictAnnotation] | None
model_config: ClassVar[ConfigDict] = {'extra': 'forbid', 'frozen': True}

Configuration for the model, should be a dictionary conforming to ConfigDict.

model_post_init(context: Any) None
Parameters:

context (Any)

Return type:

None

property record_deleted: bool
property record_exists: bool
reverted: bool
version: Annotated[int, Gt(gt=0)]
what: EntityModificationType
when: datetime
who: str | None
why: str | None