Abstracted a little bit more for potential company runner import
This commit is contained in:
@@ -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);
|
||||
}
|
||||
Reference in New Issue
Block a user