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 { } ;
|
||||
seat: Sitzplatz { } ;
|
||||
code: string { @Unique @NotNull } ;
|
||||
reserved: timestamp { @NotNull } ;
|
||||
booked: timestamp { } ;
|
||||
cancelled: timestamp {} ;
|
||||
order: Bestellung { } ;
|
||||
}
|
||||
|
||||
@@ -4,4 +4,5 @@
|
||||
Sitzkategorie {
|
||||
id: int { @Id @AutoIncremented @ObjectType } ;
|
||||
name: string { @NotNull @Unique } ;
|
||||
price: int { @NotNull } ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user