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

io.github.dehuckakpyt.telegrambot.model.callback.JpaCallbackContent.kt Maven / Gradle / Ivy

There is a newer version: 0.11.4
Show newest version
package io.github.dehuckakpyt.telegrambot.model.callback

import io.github.dehuckakpyt.telegrambot.model.UUIDTable
import io.github.dehuckakpyt.telegrambot.model.source.CallbackContent
import java.time.LocalDateTime
import java.util.*
import javax.persistence.Column
import javax.persistence.Entity
import javax.persistence.Table


/**
 * Created on 23.07.2023.
 *

* Сущность для хранения содержимого callback'ов (у которых длина боль 64 символов). * * @author Denis Matytsin */ @Entity @Table(name = "callback_content") class JpaCallbackContent( @Column(nullable = false) override val chatId: Long, @Column(nullable = false) override val fromId: Long, @Column(nullable = false) override var callbackId: UUID, @Column(nullable = false, columnDefinition = "text") override var content: String, @Column(nullable = false) var updateDate: LocalDateTime, ) : UUIDTable(), CallbackContent





© 2015 - 2025 Weber Informatics LLC | Privacy Policy