first working pdf generation from class 🎉

ref #5
This commit is contained in:
2021-02-05 17:59:26 +01:00
parent d58453faf9
commit 3af76a53e3
4 changed files with 26 additions and 8 deletions
+4 -4
View File
@@ -1,15 +1,15 @@
import { IsInt, IsNotEmpty, IsObject, IsOptional, IsString } from "class-validator";
import { IsInt, IsNotEmpty, IsObject, IsOptional, IsPositive, IsString } from "class-validator";
/**
* Defines the runner group class - a simplified version of the backend's ResponseRunnerTeam/-Organization
*/
export abstract class RunnerGroup {
export class RunnerGroup {
/**
* The group's id.
*/
@IsInt()
@IsNotEmpty()
id: number;;
@IsPositive()
id: number;
/**
* The group's name.