# Package-level declarations

## Types

GenerateCRUDModel
Link copied to clipboard
@ Target (allowedTargets = [ AnnotationTarget.CLASS ])
annotation class GenerateCRUDModel (val registeredSupertypes: KClass <*>, val serializable: Boolean = true, val generateSerialName: Boolean = true)

Use this annotation and ksp generator (module `micro_utils.repos.generator`) to create the next hierarchy of models:

GenerateCRUDModelExcludeOverride
Link copied to clipboard
@ Target (allowedTargets = [ AnnotationTarget.PROPERTY ])
annotation class GenerateCRUDModelExcludeOverride

Use this annotation on properties which should be excluded from overriding in models.

OverrideRequireManualInvalidation
Link copied to clipboard
@ RequiresOptIn (message = "Overriding of this invalidate message requires manual launching of invalidation on class initialization process", level = RequiresOptIn.Level.WARNING )
@ Target (allowedTargets = [ AnnotationTarget.CONSTRUCTOR , AnnotationTarget.FIELD , AnnotationTarget.PROPERTY , AnnotationTarget.FUNCTION ])
annotation class OverrideRequireManualInvalidation