initial commit
This commit is contained in:
25
public/src/models/models.ts
Normal file
25
public/src/models/models.ts
Normal file
@@ -0,0 +1,25 @@
|
||||
export interface Gottesdienst {
|
||||
id: number
|
||||
name: string
|
||||
date: Date
|
||||
attendance: Date
|
||||
planId: number
|
||||
}
|
||||
|
||||
export interface SimplifiedMinistrant {
|
||||
id: number,
|
||||
firstname: string,
|
||||
lastname: string
|
||||
}
|
||||
|
||||
export interface Mark {
|
||||
mid: number,
|
||||
gid: number,
|
||||
value: number
|
||||
}
|
||||
|
||||
export interface PlanModel {
|
||||
gottesdienste: Array<Gottesdienst>,
|
||||
ministranten: Array<SimplifiedMinistrant>,
|
||||
marks: Array<Mark>
|
||||
}
|
||||
Reference in New Issue
Block a user