ai.tock.bot.mongo.UserLock_.kt Maven / Gradle / Ivy
package ai.tock.bot.mongo
import java.time.Instant
import kotlin.Boolean
import kotlin.String
import kotlin.Suppress
import kotlin.collections.Collection
import kotlin.collections.Map
import kotlin.reflect.KProperty1
import org.litote.kmongo.Id
import org.litote.kmongo.property.KCollectionPropertyPath
import org.litote.kmongo.property.KMapPropertyPath
import org.litote.kmongo.property.KPropertyPath
private val ___id: KProperty1?>
get() = MongoUserLock.UserLock::_id
private val __Locked: KProperty1
get() = MongoUserLock.UserLock::locked
private val __Date: KProperty1
get() = MongoUserLock.UserLock::date
internal class UserLock_(previous: KPropertyPath?, property: KProperty1<*,
MongoUserLock.UserLock?>) : KPropertyPath(previous,property) {
val _id: KPropertyPath?>
get() = KPropertyPath(this,___id)
val locked: KPropertyPath
get() = KPropertyPath(this,__Locked)
val date: KPropertyPath
get() = KPropertyPath(this,__Date)
companion object {
val _id: KProperty1?>
get() = ___id
val Locked: KProperty1
get() = __Locked
val Date: KProperty1
get() = __Date}
}
internal class UserLock_Col(previous: KPropertyPath?, property: KProperty1<*,
Collection?>) : KCollectionPropertyPath>(previous,property) {
val _id: KPropertyPath?>
get() = KPropertyPath(this,___id)
val locked: KPropertyPath
get() = KPropertyPath(this,__Locked)
val date: KPropertyPath
get() = KPropertyPath(this,__Date)
@Suppress("UNCHECKED_CAST")
override fun memberWithAdditionalPath(additionalPath: String): UserLock_ = UserLock_(this,
customProperty(this, additionalPath))}
internal class UserLock_Map(previous: KPropertyPath?, property: KProperty1<*, Map?>) : KMapPropertyPath>(previous,property) {
val _id: KPropertyPath?>
get() = KPropertyPath(this,___id)
val locked: KPropertyPath
get() = KPropertyPath(this,__Locked)
val date: KPropertyPath
get() = KPropertyPath(this,__Date)
@Suppress("UNCHECKED_CAST")
override fun memberWithAdditionalPath(additionalPath: String): UserLock_ = UserLock_(this,
customProperty(this, additionalPath))}