Mark a model class for automatic audit logging.
Hooks are registered via ModelClass.addHook if the method exists, so this decorator is compatible with both Prorm-style models and plain mock classes that expose addHook manually in tests.
ModelClass.addHook
Mark a model class for automatic audit logging.
Hooks are registered via
ModelClass.addHookif the method exists, so this decorator is compatible with both Prorm-style models and plain mock classes that expose addHook manually in tests.