Optional
createdDefine to createdColumn
for select which column will be filled when insert, by default using createdBy
Optional
deletedDefine to deletedColumn
for select which column will be filled when delete operation, only happened when use softDelete, by default using deletedBy
Optional
updatedDefine to updatedColumn
for select which column will be filled when update/patch, by default using updatedBy
Optional
userDefine to userProperty
for select which column from user entity that will be filled to the audit columns, by default using email
UserAuditHookOptions Available options
createdColumn
,updatedColumn
,deletedColumn
,userProperty