import { Attr } from 'ts-framework' export class CreateServiceProgramDTO { @Attr({ type: String }) name: string } export class UpdateServiceProgramDTO { @Attr({ type: String }) id: string @Attr({ type: String }) name: string } export class ServiceProgramResponseDTO { id: string name: string constructor(model: ServiceProgramResponseDTO) { this.id = model.id this.name = model.name } static of(model: ServiceProgramResponseDTO): ServiceProgramResponseDTO { return new ServiceProgramResponseDTO(model) } }