23 lines
349 B
TypeScript
23 lines
349 B
TypeScript
|
|
|
|
export class MyEvent {
|
|
|
|
id: number;
|
|
eventname: string;
|
|
datum: Date;
|
|
type: EventType;
|
|
content: string;
|
|
minitext: string;
|
|
link: string|null;
|
|
foto: string;
|
|
formular: number|null;
|
|
|
|
}
|
|
|
|
export enum EventType {
|
|
html = "html",
|
|
markdown = "markdown",
|
|
fotos = "fotos",
|
|
link = "link",
|
|
dlink = "dlink"
|
|
} |