import { Attr } from 'ts-framework' export class CoordinatesDTO { @Attr({ type: Number }) latitude: number @Attr({ type: Number }) longitude: number @Attr({ type: Boolean, optional: true }) isLineString?: boolean } export class CoordinatesWithShortKeyDTO { @Attr({ type: Number }) lat: number @Attr({ type: Number }) lng: number }