Files
axum-async-graphql/src/domain/typ/model/typ.rs

23 lines
424 B
Rust
Raw Normal View History

2026-05-31 20:24:10 +02:00
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 {}