refactoring rolle

This commit is contained in:
keiner
2024-06-21 23:08:18 +02:00
parent 44931afbe7
commit a290bcceb3
11 changed files with 53 additions and 9 deletions

View File

@@ -14,12 +14,16 @@ pub struct Hersteller {
#[derive(InputObject, Debug)]
pub struct HerstellerCreateInput {
/// Der Name eines Herstellers
pub name: String,
}
#[derive(InputObject, Debug)]
pub struct HerstellerUpdateInput {
/// Die Datenbank-ID
pub id: i32,
/// Der Name eines Herstellers
pub name: Option<String>,
}