test with kerkour architecture (https://kerkour.com/rust-web-application-clean-architecture)
This commit is contained in:
@@ -5,9 +5,10 @@ use sqlx::{FromRow, PgPool, Type};
|
||||
|
||||
#[derive(SimpleObject, Debug, FromRow, Deserialize, Serialize, Type)]
|
||||
pub struct Typ {
|
||||
/// Die ID eines Geräte-Typs
|
||||
pub id: i32,
|
||||
|
||||
/// Name eines Typs
|
||||
/// Der Name eines Geräte-Typs
|
||||
pub name: String,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user