miinventario-backend-v2/src/modules/feedback/dto/correct-sku.dto.ts
rckrdmrd 5a1c966ed2 Migración desde miinventario/backend - Estándar multi-repo v2
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
2026-01-16 08:12:15 -06:00

24 lines
381 B
TypeScript

import { IsString, IsOptional, MaxLength, IsNotEmpty } from 'class-validator';
export class CorrectSkuDto {
@IsString()
@IsNotEmpty()
@MaxLength(255)
name: string;
@IsOptional()
@IsString()
@MaxLength(100)
category?: string;
@IsOptional()
@IsString()
@MaxLength(50)
barcode?: string;
@IsOptional()
@IsString()
@MaxLength(255)
reason?: string;
}