nbcp.myoql.db.mongo.component.MongoInsertClip.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of ktmyoql Show documentation
Show all versions of ktmyoql Show documentation
kotlin orm -- mysql,mongo , just like ktorm
The newest version!
package nbcp.myoql.db.mongo
import nbcp.myoql.db.mongo.component.MongoBaseMetaCollection
import org.slf4j.LoggerFactory
import java.io.Serializable
/**
* Created by udi on 17-4-17.
*/
/**
* MongoInsert
*/
class MongoInsertClip>(var moerEntity: M) :
MongoBaseInsertClip(moerEntity.tableName) {
companion object {
private var logger = LoggerFactory.getLogger(this::class.java.declaringClass)
}
fun add(entity: Serializable): MongoInsertClip {
super.addEntity(entity)
return this;
}
}