@@ -9,7 +9,7 @@ import { Scan } from '../../entities/Scan';
 | 
			
		||||
 */
 | 
			
		||||
export abstract class CreateScan {
 | 
			
		||||
    /**
 | 
			
		||||
     * The scan's associated runner.
 | 
			
		||||
     * The scan's associated runner's id.
 | 
			
		||||
     * This is important to link ran distances to runners.
 | 
			
		||||
     */
 | 
			
		||||
    @IsInt()
 | 
			
		||||
 
 | 
			
		||||
@@ -19,7 +19,7 @@ export class CreateScanStation {
 | 
			
		||||
    description?: string;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * The station's associated track.
 | 
			
		||||
     * The station's associated track's id.
 | 
			
		||||
     */
 | 
			
		||||
    @IsInt()
 | 
			
		||||
    @IsPositive()
 | 
			
		||||
 
 | 
			
		||||
@@ -12,7 +12,7 @@ import { TrackScan } from '../../entities/TrackScan';
 | 
			
		||||
 */
 | 
			
		||||
export class CreateTrackScan {
 | 
			
		||||
    /**
 | 
			
		||||
     * The runnerCard associated with the scan.
 | 
			
		||||
     * The id of the runnerCard associated with the scan.
 | 
			
		||||
     * This get's saved for documentation and management purposes.
 | 
			
		||||
     */
 | 
			
		||||
    @IsInt()
 | 
			
		||||
@@ -20,8 +20,8 @@ export class CreateTrackScan {
 | 
			
		||||
    card: number;
 | 
			
		||||
 | 
			
		||||
    /**
 | 
			
		||||
     * The scanning station that created the scan.
 | 
			
		||||
     * Mainly used for logging and traceing back scans (or errors)
 | 
			
		||||
     * The scanning station's id that created the scan.
 | 
			
		||||
     * Mainly used for logging and traceing back scans (or errors).
 | 
			
		||||
     */
 | 
			
		||||
    @IsInt()
 | 
			
		||||
    @IsPositive()
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user