//
//  DMKAPIRoutePlanData.h
//  Pods
//
//  Created by didi on 2025/8/27.
//

#import <DMKMap/DMKAPIPointGeoData.h>

NS_ASSUME_NONNULL_BEGIN

@interface DMKAPIRouteModel :NSObject

/**
 路线标签
 */
@property (nonatomic, copy) NSString *tag;

/**
 地点信息
 */
@property (nonatomic, assign) NSInteger dist;

/**
 时间间隔
 */
@property (nonatomic, assign) NSInteger duration;

/**
 点信息
 */
@property (nonatomic, strong) NSArray<DMKAPIPointGeoData *> *pointGeoList;

@end

@interface DMKAPIRoutePlanData : NSObject

/**
 错误编码
 */
@property (nonatomic, assign) NSInteger errcode;

/**
 错误信息
 */
@property (nonatomic, copy) NSString *errmsg;

/**
 路线信息
 */
@property (nonatomic, copy) NSArray<DMKAPIRouteModel *> *routes;

@end

NS_ASSUME_NONNULL_END
