add bestellung
This commit is contained in:
11
TelosysTools/models/InfiniMotion/Bestellung.entity
Normal file
11
TelosysTools/models/InfiniMotion/Bestellung.entity
Normal 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 { } ;
|
||||||
|
}
|
||||||
@@ -6,7 +6,5 @@ Eintrittskarte {
|
|||||||
show: Vorstellung { } ;
|
show: Vorstellung { } ;
|
||||||
seat: Sitzplatz { } ;
|
seat: Sitzplatz { } ;
|
||||||
code: string { @Unique @NotNull } ;
|
code: string { @Unique @NotNull } ;
|
||||||
reserved: timestamp { @NotNull } ;
|
order: Bestellung { } ;
|
||||||
booked: timestamp { } ;
|
|
||||||
cancelled: timestamp {} ;
|
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -4,4 +4,5 @@
|
|||||||
Sitzkategorie {
|
Sitzkategorie {
|
||||||
id: int { @Id @AutoIncremented @ObjectType } ;
|
id: int { @Id @AutoIncremented @ObjectType } ;
|
||||||
name: string { @NotNull @Unique } ;
|
name: string { @NotNull @Unique } ;
|
||||||
|
price: int { @NotNull } ;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -22,7 +22,7 @@ ENTITY_PKG=de.infinimotion.model.bean
|
|||||||
ProjectVariable.MAVEN_ARTIFACT_ID=model
|
ProjectVariable.MAVEN_ARTIFACT_ID=model
|
||||||
ProjectVariable.MAVEN_GROUP_ID=de.infinimotion
|
ProjectVariable.MAVEN_GROUP_ID=de.infinimotion
|
||||||
ProjectVariable.PROJECT_NAME=infinimodel
|
ProjectVariable.PROJECT_NAME=infinimodel
|
||||||
ProjectVariable.PROJECT_VERSION=0.0.85
|
ProjectVariable.PROJECT_VERSION=0.0.88
|
||||||
ProjectVariable.REST_SERVER_PORT=3000
|
ProjectVariable.REST_SERVER_PORT=3000
|
||||||
ProjectVariable.REST_API_ROOT=/api/v1
|
ProjectVariable.REST_API_ROOT=/api/v1
|
||||||
ProjectVariable.REST_URL_ROOT=http://localhost:3000
|
ProjectVariable.REST_URL_ROOT=http://localhost:3000
|
||||||
|
|||||||
Reference in New Issue
Block a user