All Downloads are FREE. Search and download functionalities are using the official Maven repository.

nbcp.myoql.db.comm.BaseMetaData.kt Maven / Gradle / Ivy

The newest version!
package nbcp.myoql.db.comm

import nbcp.myoql.db.db
import java.io.Serializable


abstract class BaseMetaData @JvmOverloads constructor(

    val entityClass: Class,
    var tableName: String = "",
    var databaseId: String = ""
) : Serializable {
    init {
        if (this.tableName.isEmpty()) {
            this.tableName = entityClass.simpleName;
        }
    }

    val actualTableName by lazy {
        db.mongo.mongoEvents.getActualTableName(tableName);
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy