//
//  AMapHyStationModel.h
//  AMapNavIOSSDK
//
//  Created by admin on 2026/2/11.
//

#import <Foundation/Foundation.h>
#import <MJExtension/MJExtension.h>

NS_ASSUME_NONNULL_BEGIN

/**
 {
             "name": "嘉兴经开站",
             "shortName": null,
             "siteNo": null,
             "city": null,
             "address": "嘉兴市秀洲区岗山路272号",
             "contact": "龚明伟",
             "phone": "18888888888",
             "type": null,
             "coOpMode": null,
             "booking": null,
             "siteStatus": 0,
             "startBusiness": "06:00:00",
             "endBusiness": "22:00:00",
             "billingMethod": null,
             "term": null,
             "remark": null,
             "longitude": "120.75972800",
             "latitude": "30.79962800"
         }
 */
@interface AMapHyStationModel : NSObject

@property (nonatomic, copy, nullable) NSString *ID;
@property (nonatomic, copy, nullable) NSString *hydrogenId;
@property (nonatomic, copy) NSString *name;
@property (nonatomic, copy, nullable) NSString *shortName;
@property (nonatomic, copy, nullable) NSString *siteNo;
@property (nonatomic, copy, nullable) NSString *city;
@property (nonatomic, copy, nullable) NSString *address;
@property (nonatomic, copy, nullable) NSString *contact;
@property (nonatomic, copy, nullable) NSString *phone;
@property (nonatomic, copy, nullable) NSString *type;
@property (nonatomic, copy, nullable) NSString *coOpMode;
@property (nonatomic, strong, nullable) NSString * booking; 
@property (nonatomic, assign) NSInteger siteStatus;
@property (nonatomic, copy, nullable) NSString *startBusiness;
@property (nonatomic, copy, nullable) NSString *endBusiness;
@property (nonatomic, copy, nullable) NSString *billingMethod;
@property (nonatomic, copy, nullable) NSString *term;
@property (nonatomic, copy, nullable) NSString *remark;
@property (nonatomic, copy, nullable) NSString *longitude;
@property (nonatomic, copy, nullable) NSString *latitude;

@end

/**
 {
     "code": 0,
     "status": true,
     "message": "success",
     "data": [],
     "time": "1770800256408",
     "error": null
 }
 */

@interface AMapHyResponse : NSObject
@property (nonatomic, assign) NSInteger code;
@property (nonatomic, assign) NSInteger status;
@property (nonatomic, copy, nullable) NSString *message;
@property (nonatomic, copy, nullable) NSString *time;
@property (nonatomic, copy, nullable) NSString *error;

@property(nonatomic , strong)NSArray <AMapHyStationModel * > * data;

@end
NS_ASSUME_NONNULL_END
