com.c0x12c.featureflag.entity.FeatureFlagEntity.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of core Show documentation
Show all versions of core Show documentation
A module for managing feature flags
package com.c0x12c.featureflag.entity
import com.c0x12c.featureflag.table.FeatureFlagTable
import org.jetbrains.exposed.dao.UUIDEntity
import org.jetbrains.exposed.dao.UUIDEntityClass
import org.jetbrains.exposed.dao.id.EntityID
import java.util.UUID
class FeatureFlagEntity(
id: EntityID
) : UUIDEntity(id) {
companion object : UUIDEntityClass(FeatureFlagTable)
var name by FeatureFlagTable.name
var code by FeatureFlagTable.code
var description by FeatureFlagTable.description
var enabled by FeatureFlagTable.enabled
var metadata by FeatureFlagTable.metadata
var type by FeatureFlagTable.type
var createdAt by FeatureFlagTable.createdAt
var updatedAt by FeatureFlagTable.updatedAt
var deletedAt by FeatureFlagTable.deletedAt
}