//! `SeaORM` Entity, @generated by sea-orm-codegen 2.0
use sea_orm::entity::prelude::*;
use serde::Serialize;
#[sea_orm::model]
#[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel, Serialize)]
#[sea_orm(table_name = "ticket_labels")]
pub struct Model {
#[sea_orm(primary_key)]
pub id: i64,
pub repository_id: i64,
/// The label as it is written, and as it is filtered by. One repository,
/// one name: two labels of the same name would be indistinguishable to
/// the filter that is made of them.
pub name: String,
pub created_at: DateTimeWithTimeZone,
}
impl ActiveModelBehavior for ActiveModel {}