12 lines
156 B
TypeScript
12 lines
156 B
TypeScript
import { IsString, MaxLength } from "class-validator";
|
|
|
|
export class CreateOpcionDto {
|
|
|
|
|
|
@IsString()
|
|
@MaxLength(50)
|
|
opcion: string;
|
|
|
|
|
|
}
|