cash shift

This commit is contained in:
2026-07-14 12:57:30 +03:30
parent f2da078c5a
commit 59e958e809
16 changed files with 627 additions and 5 deletions
@@ -0,0 +1,16 @@
import { ApiProperty, ApiPropertyOptional } from '@nestjs/swagger';
import { Type } from 'class-transformer';
import { IsNumber, IsOptional, IsString, Min } from 'class-validator';
export class OpenCashShiftDto {
@ApiProperty({ description: 'Opening cash amount in drawer', minimum: 0 })
@Type(() => Number)
@IsNumber()
@Min(0)
openingAmount!: number;
@ApiPropertyOptional()
@IsOptional()
@IsString()
notes?: string;
}