Updated event.dto.ts

This commit is contained in:
2026-01-30 14:22:04 +01:00
parent 669bc47276
commit 021819a914

View File

@@ -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;
}