pl4y-data-library
Version:
This library contains the dtos, enums, schemas, and other data objects needed in the pl4y ecosystem.
23 lines (16 loc) • 529 B
text/typescript
import { IsEnum, IsNotEmpty, IsNumber, IsOptional, IsString } from "class-validator";
import { StockLocation } from "../../../enums/stock-location.enum";
export class StockTransferDto {
id?: string;
productId: string;
from: StockLocation;
to: StockLocation;
quantity: number;
transferredAt: Date;
}