import { IsBoolean, IsInt, IsOptional, IsString, MinLength } from 'class-validator';

export class UpdateReceiptAliasDto {
  @IsOptional()
  @IsString()
  @MinLength(1)
  receiptName?: string;

  @IsOptional()
  @IsInt()
  productId?: number;

  @IsOptional()
  @IsBoolean()
  isGlobal?: boolean;
}
