use sea_orm::entity::prelude::*; use time::OffsetDateTime; use uuid::Uuid; #[sea_orm::model] #[derive(Clone, Debug, PartialEq, Eq, DeriveEntityModel)] #[sea_orm(table_name = "system_security_keys")] pub struct Model { #[sea_orm(primary_key, auto_increment = false)] pub id: Uuid, pub name: String, pub key_hash: String, pub is_active: bool, pub created_at: OffsetDateTime, pub updated_at: OffsetDateTime, } impl ActiveModelBehavior for ActiveModel {}