10 lines
215 B
TypeScript
10 lines
215 B
TypeScript
import { Type } from "class-transformer";
|
|
import { IsInt, Min, Max } from "class-validator";
|
|
|
|
export class GetShiftsOverviewDto {
|
|
@Type(()=> Number)
|
|
@IsInt()
|
|
@Min(1)
|
|
@Max(26)
|
|
period_id: number;
|
|
} |