UNPKG

pl4y-data-library

Version:

This library contains the dtos, enums, schemas, and other data objects needed in the pl4y ecosystem.

29 lines (22 loc) 422 B
import { IsOptional, IsString } from "class-validator"; export class Address { id: string; @IsString() @IsOptional() address: string; @IsString() @IsOptional() city: string; @IsString() @IsOptional() zip: string; @IsString() @IsOptional() state: string; @IsString() @IsOptional() country: string; @IsString() @IsOptional() phone: string; }