use sea_orm::entity::prelude::*;
use serde::{Deserialize, Serialize};
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Serialize, Deserialize)]
#[sea_orm(table_name = "video_transcript_documents")]
pub struct Model {
#[sea_orm(primary_key, auto_increment = false)]
pub video_id: String,
#[sea_orm(primary_key, auto_increment = false)]
pub lang: String,
#[sea_orm(primary_key, auto_increment = false)]
pub source: String,
pub body: String,
#[sea_orm(ignore)]
pub tsv: String,
pub updated_at: DateTimeWithTimeZone,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}