mirror of
https://github.com/Suwayomi/Suwayomi-Server.git
synced 2026-07-03 19:04:39 -05:00
19 lines
650 B
Kotlin
19 lines
650 B
Kotlin
package suwayomi.anime.model.table
|
|
|
|
/*
|
|
* Copyright (C) Contributors to the Suwayomi project
|
|
*
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
* file, You can obtain one at https://mozilla.org/MPL/2.0/. */
|
|
|
|
import org.jetbrains.exposed.dao.id.IdTable
|
|
|
|
object AnimeSourceTable : IdTable<Long>() {
|
|
override val id = long("id").entityId()
|
|
val name = varchar("name", 128)
|
|
val lang = varchar("lang", 10)
|
|
val extension = reference("extension", AnimeExtensionTable)
|
|
val partOfFactorySource = bool("part_of_factory_source").default(false)
|
|
}
|