use sea_orm::entity::prelude::*;
#[derive(Clone, Debug, PartialEq, DeriveEntityModel, Eq)]
#[sea_orm(table_name = "calendar")]
pub struct Model {
#[sea_orm(primary_key)]
pub id: i32,
pub key: String,
pub enabled: bool,
/// Remind this many days ahead in the motd
pub sig_date_delta: Option<u32>,
pub sig_remind_enum: Option<String>,
/// last_reminded and last_reminded_hour, like ppl.meta
pub meta: Option<Json>,
pub date_ins: Date,
pub date_up: Date,
}
#[derive(Copy, Clone, Debug, EnumIter, DeriveRelation)]
pub enum Relation {}
impl ActiveModelBehavior for ActiveModel {}
⭐
Log in to mark this repository.
622 B · text
History
d9460a8