update model for commands
This commit is contained in:
@@ -1,11 +1,12 @@
|
||||
// Entity Film
|
||||
|
||||
#BaseModel
|
||||
Film {
|
||||
id: int { @Id @AutoIncremented } ;
|
||||
title: string {} ;
|
||||
description: string {} ;
|
||||
duration: int {} ;
|
||||
image: string {} ;
|
||||
rating: short {} ;
|
||||
category: Filmkategorie {} ;
|
||||
title: string { @NotNull } ;
|
||||
description: string { @NotNull } ;
|
||||
duration: int { @NotNull } ;
|
||||
image: string { @NotNull } ;
|
||||
rating: short { } ;
|
||||
category: Filmkategorie { } ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user