add bestellung

This commit is contained in:
2025-11-09 21:45:45 +01:00
parent 2efe0b116a
commit 07762e8b76
4 changed files with 14 additions and 4 deletions

View File

@@ -0,0 +1,11 @@
// Entity Bestellung
#BaseModel
Bestellung {
id: int { @Id @AutoIncremented @ObjectType } ;
code: string { @Unique @NotNull } ;
reserved: timestamp { @NotNull } ;
booked: timestamp { } ;
cancelled: timestamp { } ;
mail: string { } ;
}

View File

@@ -6,7 +6,5 @@ Eintrittskarte {
show: Vorstellung { } ;
seat: Sitzplatz { } ;
code: string { @Unique @NotNull } ;
reserved: timestamp { @NotNull } ;
booked: timestamp { } ;
cancelled: timestamp {} ;
order: Bestellung { } ;
}

View File

@@ -4,4 +4,5 @@
Sitzkategorie {
id: int { @Id @AutoIncremented @ObjectType } ;
name: string { @NotNull @Unique } ;
price: int { @NotNull } ;
}

View File

@@ -22,7 +22,7 @@ ENTITY_PKG=de.infinimotion.model.bean
ProjectVariable.MAVEN_ARTIFACT_ID=model
ProjectVariable.MAVEN_GROUP_ID=de.infinimotion
ProjectVariable.PROJECT_NAME=infinimodel
ProjectVariable.PROJECT_VERSION=0.0.85
ProjectVariable.PROJECT_VERSION=0.0.88
ProjectVariable.REST_SERVER_PORT=3000
ProjectVariable.REST_API_ROOT=/api/v1
ProjectVariable.REST_URL_ROOT=http://localhost:3000