Updated event.dto.ts
This commit is contained in:
11
event.dto.ts
11
event.dto.ts
@@ -1,26 +1,15 @@
|
||||
import { Field, ObjectType } from "@nestjs/graphql";
|
||||
|
||||
|
||||
@ObjectType()
|
||||
export class MyEvent {
|
||||
|
||||
@Field()
|
||||
id: number;
|
||||
@Field()
|
||||
eventname: string;
|
||||
@Field()
|
||||
datum: Date;
|
||||
@Field()
|
||||
type: EventType;
|
||||
@Field()
|
||||
content: string;
|
||||
@Field()
|
||||
minitext: string;
|
||||
@Field({nullable: true})
|
||||
link: string;
|
||||
@Field()
|
||||
foto: string;
|
||||
@Field({nullable: true})
|
||||
formular: number;
|
||||
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user