import { Attr } from 'ts-framework' import * as constants from '../constants' import * as service from './service' export class ServiceDaysHoursDTO { @Attr({ type: String, optional: true }) id?: string @Attr({ type: String, optional: true }) from?: string @Attr({ type: String, optional: true }) until?: string @Attr({ type: String, optional: true }) days?: string[] } export class CreateServiceDaysHoursDTO { @Attr({ type: String }) from: string @Attr({ type: String }) until: string @Attr({ type: String }) days: string[] @Attr({ type: String }) serviceId: string } export class UpdateServiceDaysHoursDTO { @Attr({ type: String }) id: string @Attr({ type: String, optional: true }) from?: string @Attr({ type: String, optional: true }) until?: string @Attr({ type: String, optional: true }) days?: string[] } export class ServiceDaysHoursResponseDTO { id: string from?: string until?: string days: String[] service?: service.ServiceResponseDTO }