561 B · text History a98ab0f
//! `SeaORM` Entity, @generated by sea-orm-codegen 1.1.2

use sea_orm::entity::prelude::*;

#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "tier")]
pub struct Model {
    #[sea_orm(primary_key)]
    pub id: i32,
    pub ppl_id: i32,
    pub name: String,
    pub color: Option<String>,
    pub symbol: Option<String>,
    pub date_ins: Date,
    pub date_up: Date,
    pub sig_date_delta: Option<u32>,
}

#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}

impl ActiveModelBehavior for ActiveModel {}