Abstracted a little bit more for potential company runner import

This commit is contained in:
niggl committed 2020-12-17 16:32:29 +01:00
1 parent cad30c7f63
commit 1b59d58c60
3 files changed
+7 -4

No files matched your search

+3 -1
View File
@@ -1,6 +1,6 @@
import { IsNotEmpty, IsOptional, IsString } from 'class-validator';
export class ImportRunner {
export abstract class ImportRunner {
/**
* The new runner's first name.
@@ -23,4 +23,6 @@ export class ImportRunner {
@IsString()
@IsNotEmpty()
lastname: string;
public abstract toCreateRunner(groupID?: number);
}