This commit is contained in:
2026-05-31 20:24:10 +02:00
parent 49cd648d5b
commit a1e8d34210
27 changed files with 426 additions and 23 deletions

View File

@@ -0,0 +1,22 @@
use async_graphql::{ComplexObject, SimpleObject};
use crate::scalar::{Id, Time};
#[derive(sqlx::FromRow, SimpleObject, Clone, Debug)]
#[graphql(complex)]
pub struct Typ {
/// Die UUID einer Typ
pub id: Id,
/// Der Typname
pub typname: String,
/// Wann die Typ erstellt wurde
pub erstellt_am: Time,
/// Wann die Typ geaendert wurde
pub geaendert_am: Time,
}
#[ComplexObject]
impl Typ {}