pip_services3_commons.data.ITrackable module

pip_services3_commons.data.ITrackable

Interface for trackable data objects

copyright

Conceptual Vision Consulting LLC 2018-2019, see AUTHORS for more details.

license

MIT, see LICENSE for more details.

class pip_services3_commons.data.ITrackable.ITrackable

Bases: pip_services3_commons.data.IChangeable.IChangeable

Interface for data objects that can track their changes, including logical deletion.

Example:

class MyData(IStringIdentifiable, ITrackable):
    id = None
    ...

    change_time = None
    create_time = None
    deleted = None
change_time: datetime.datetime = None
create_time: datetime.datetime = None
deleted: bool = None