Generate CRUDModel
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:
New model. For example: data class NewTest
Registered model. For example: data class RegisteredTest
Parameters
registered Supertypes
These KClasses will be used as supertypes for registered model
serializable
If true (default) will generate @kotlinx.serialization.SerialName for models with their names as values