diff --git a/.gitignore b/.gitignore index 2ac1d09..f4aeee7 100644 --- a/.gitignore +++ b/.gitignore @@ -62,3 +62,4 @@ package-lock.json output.json .DS_Store models/ +output_* diff --git a/output_model/modelAgreementAttatch.h b/output_model/modelAgreementAttatch.h deleted file mode 100644 index 583a9a4..0000000 --- a/output_model/modelAgreementAttatch.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// modelAgreementAttatch.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelAgreementAttatch : PMLModelBase - -/** - * 签约申请uuId 不可空 - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 证件资料类型1-未知2-身份证3-户口本4-医保卡5-签约协议 不可空 - */ -@property (nonatomic, assign) NSInteger status; - -/** - *  证件资料图片地址 不可空 - */ -@property (nonatomic, copy) NSString *attachUrl; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementAttatch.m b/output_model/modelAgreementAttatch.m deleted file mode 100644 index 017637d..0000000 --- a/output_model/modelAgreementAttatch.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelAgreementAttatch.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementAttatch.h - -@implementation modelAgreementAttatch - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementDetailResponse.h b/output_model/modelAgreementDetailResponse.h deleted file mode 100644 index 6609284..0000000 --- a/output_model/modelAgreementDetailResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelAgreementDetailResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelAgreementdetailInfo.h - - -@interface modelAgreementDetailResponse : PMLResponseModelBaseHD - -/** - * - */ -@property (nonatomic, strong) modelAgreementdetailInfo *data; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementDetailResponse.m b/output_model/modelAgreementDetailResponse.m deleted file mode 100644 index 19c4828..0000000 --- a/output_model/modelAgreementDetailResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelAgreementDetailResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementDetailResponse.h - -@implementation modelAgreementDetailResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter dictionaryTransformerWithModelClass:[modelAgreementdetailInfo class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelAgreementServicePksInfo.h b/output_model/modelAgreementServicePksInfo.h deleted file mode 100644 index 484ed6f..0000000 --- a/output_model/modelAgreementServicePksInfo.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// modelAgreementServicePksInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelAgreementServicePksInfo : PMLModelBase - -/** - * 签约申请uuid 不可空 - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 服务套餐id  不可空 - */ -@property (nonatomic, assign) NSInteger servicePkgId; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementServicePksInfo.m b/output_model/modelAgreementServicePksInfo.m deleted file mode 100644 index 122e71a..0000000 --- a/output_model/modelAgreementServicePksInfo.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelAgreementServicePksInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementServicePksInfo.h - -@implementation modelAgreementServicePksInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementTagInfo.h b/output_model/modelAgreementTagInfo.h deleted file mode 100644 index 8cc2fda..0000000 --- a/output_model/modelAgreementTagInfo.h +++ /dev/null @@ -1,30 +0,0 @@ -// -// modelAgreementTagInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelAgreementTagInfo : PMLModelBase - -/** - * 签约申请uuid 不可空 - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 标签id 不可空 - */ -@property (nonatomic, assign) NSInteger tagId; - -/** - *  标签名称 不可空 - */ -@property (nonatomic, copy) NSString *tagName; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementTagInfo.m b/output_model/modelAgreementTagInfo.m deleted file mode 100644 index d3a174f..0000000 --- a/output_model/modelAgreementTagInfo.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelAgreementTagInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementTagInfo.h - -@implementation modelAgreementTagInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementType.h b/output_model/modelAgreementType.h deleted file mode 100644 index 1074da3..0000000 --- a/output_model/modelAgreementType.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// modelAgreementType.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelAgreementType : PMLModelBase - -/** - * 签约关系类别 1个人签约,2是团队签约 - */ -@property (nonatomic, assign) NSInteger type; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementType.m b/output_model/modelAgreementType.m deleted file mode 100644 index a224b6b..0000000 --- a/output_model/modelAgreementType.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelAgreementType.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementType.h - -@implementation modelAgreementType - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementTypeResponse.h b/output_model/modelAgreementTypeResponse.h deleted file mode 100644 index c8a030e..0000000 --- a/output_model/modelAgreementTypeResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelAgreementTypeResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelAgreementType.h - - -@interface modelAgreementTypeResponse : PMLResponseModelBaseHD - -/** - *   - */ -@property (nonatomic, strong) modelAgreementType *data; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementTypeResponse.m b/output_model/modelAgreementTypeResponse.m deleted file mode 100644 index ceb2f87..0000000 --- a/output_model/modelAgreementTypeResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelAgreementTypeResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementTypeResponse.h - -@implementation modelAgreementTypeResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter dictionaryTransformerWithModelClass:[modelAgreementType class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelAgreementdetailInfo.h b/output_model/modelAgreementdetailInfo.h deleted file mode 100644 index d11dc00..0000000 --- a/output_model/modelAgreementdetailInfo.h +++ /dev/null @@ -1,273 +0,0 @@ -// -// modelAgreementdetailInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelAgreementServicePksInfo.h -#import modelAgreementTagInfo.h -#import modelAgreementAttatch.h - - -@interface modelAgreementdetailInfo : PMLModelBase - -/** - * 签约UUID - */ -@property (nonatomic, copy) NSString *agreementUuid; - -/** - * 签约申请UUID - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 医生Id - */ -@property (nonatomic, copy) NSString *expertId; - -/** - * 医生用户Id - */ -@property (nonatomic, assign) NSInteger expertUserId; - -/** - * 医生姓名 - */ -@property (nonatomic, copy) NSString *expertName; - -/** - * 社区医院ID - */ -@property (nonatomic, copy) NSString *hospitalId; - -/** - * 社区医院名称 - */ -@property (nonatomic, copy) NSString *hospitalName; - -/** - * 社区医院省id - */ -@property (nonatomic, assign) NSInteger provinceId; - -/** - * 社区医院省名称 - */ -@property (nonatomic, copy) NSString *provinceName; - -/** - * 社区医院市id - */ -@property (nonatomic, assign) NSInteger cityId; - -/** - * 社区医院市名称 - */ -@property (nonatomic, copy) NSString *cityName; - -/** - * 社区医院区县id - */ -@property (nonatomic, assign) NSInteger districtId; - -/** - * 患者所属用户id - */ -@property (nonatomic, assign) NSInteger patientUserId; - -/** - * 患者所在市名称 - */ -@property (nonatomic, assign) NSInteger patientId; - -/** - * 姓名 - */ -@property (nonatomic, copy) NSString *patientName; - -/** - * 身份证号 - */ -@property (nonatomic, copy) NSString *patientIdCard; - -/** - * 出生日期 由身份证解析 - */ -@property (nonatomic, assign) NSInteger patientAge; - -/** - * 性别 1-男 2-女 - */ -@property (nonatomic, assign) NSInteger patientSex; - -/** - * 手机号码 - */ -@property (nonatomic, copy) NSString *patientMobile; - -/** - * 患者头像照片地址 - */ -@property (nonatomic, copy) NSString *patientImg; - -/** - * 图片服务地址 - */ -@property (nonatomic, copy) NSString *kanoServer; - -/** - * 患者医保类型1-省医保2-市医保3-新农合医保4-健康卡5-大学生医保6-少儿医保7-其他医保 - */ -@property (nonatomic, assign) NSInteger patientCardType; - -/** - * 患者医保卡号 - */ -@property (nonatomic, copy) NSString *patientCardNo; - -/** - * 患者所在省份Id - */ -@property (nonatomic, assign) NSInteger patientProvinceId; - -/** - * 患者所在省份名称 - */ -@property (nonatomic, copy) NSString *patientProvinceName; - -/** - * 患者所在市Id - */ -@property (nonatomic, assign) NSInteger patientCityId; - -/** - * 患者所在市名称 - */ -@property (nonatomic, copy) NSString *patientCityName; - -/** - * 患者所在区县Id - */ -@property (nonatomic, assign) NSInteger patientDistrictId; - -/** - * 患者所在区县名称 - */ -@property (nonatomic, copy) NSString *patientDistrictName; - -/** - * 患者常住地址 - */ -@property (nonatomic, copy) NSString *patientAddress; - -/** - * 电子签名 - */ -@property (nonatomic, copy) NSString *patientSignature; - -/** - * 服务年限 - */ -@property (nonatomic, copy) NSString *serviceYear; - -/** - * 下次签约提前提醒日期 - */ -@property (nonatomic, assign) NSInteger nextSignNoticeDays; - -/** - * 订单状态 1-正常生效,2-未来生效,3-已失效,4-已解签 - */ -@property (nonatomic, assign) NSInteger status; - -/** - * 婚姻状况标签ID - */ -@property (nonatomic, copy) NSString *maritalStatusTag; - -/** - * 生育状况标签ID - */ -@property (nonatomic, copy) NSString *fertilityStatusTag; - -/** - * 手术或外伤标签ID,多值以逗号分隔 - */ -@property (nonatomic, copy) NSString *surgeryStatusTags; - -/** - * 手术或外伤补充 - */ -@property (nonatomic, copy) NSString *surgeryStatusAdd; - -/** - * 家族病史标签ID,多值以逗号分隔 - */ -@property (nonatomic, copy) NSString *familyDiseaseHisTags; - -/** - * 家族病史补充 - */ -@property (nonatomic, copy) NSString *familyDiseaseHisAdd; - -/** - * 药物过敏历史标签ID,多值以逗号分隔 - */ -@property (nonatomic, copy) NSString *drugAllergyHisTags; - -/** - * 药物过敏历史补充 - */ -@property (nonatomic, copy) NSString *drugAllergyHisAdd; - -/** - * 食物或接触物过敏历史标签ID,多值以逗号分隔 - */ -@property (nonatomic, copy) NSString *foodAllergyHisTags; - -/** - * 食物或接触物过敏历史补充 - */ -@property (nonatomic, copy) NSString *foodAllergyHisAdd; - -/** - * 个人习惯标签ID,多值以逗号分隔 - */ -@property (nonatomic, copy) NSString *personalHabitTags; - -/** - * 个人习惯补充 - */ -@property (nonatomic, copy) NSString *personalHabitAdd; - -/** - * 签约时间 - */ -@property (nonatomic, copy) NSString *signTime; - -/** - * 来源 - */ -@property (nonatomic, copy) NSString *sourceId; - -/** - * 套餐信息 - */ -@property (nonatomic, strong) NSArray *agreementServicePkgs; - -/** - * 居民标签信息 - */ -@property (nonatomic, strong) NSArray *agreementTags; - -/** - * 证件资料 - */ -@property (nonatomic, strong) NSArray *agreementAttachs; - - -@end \ No newline at end of file diff --git a/output_model/modelAgreementdetailInfo.m b/output_model/modelAgreementdetailInfo.m deleted file mode 100644 index a19dc3f..0000000 --- a/output_model/modelAgreementdetailInfo.m +++ /dev/null @@ -1,28 +0,0 @@ -// -// modelAgreementdetailInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelAgreementdetailInfo.h - -@implementation modelAgreementdetailInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - -+ (NSValueTransformer *)agreementServicePkgsJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelAgreementServicePksInfo class]]; -} -+ (NSValueTransformer *)agreementTagsJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelAgreementTagInfo class]]; -} -+ (NSValueTransformer *)agreementAttachsJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelAgreementAttatch class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelBindGroupDoctor.h b/output_model/modelBindGroupDoctor.h deleted file mode 100644 index 8ed33d0..0000000 --- a/output_model/modelBindGroupDoctor.h +++ /dev/null @@ -1,25 +0,0 @@ -// -// modelBindGroupDoctor.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelBindGroupDoctor : PMLModelBase - -/** - * 医生userid - */ -@property (nonatomic, copy) NSString *doctorUserId; - -/** - * 医生姓名 - */ -@property (nonatomic, copy) NSString *doctorName; - - -@end \ No newline at end of file diff --git a/output_model/modelBindGroupDoctor.m b/output_model/modelBindGroupDoctor.m deleted file mode 100644 index 800a71b..0000000 --- a/output_model/modelBindGroupDoctor.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelBindGroupDoctor.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelBindGroupDoctor.h - -@implementation modelBindGroupDoctor - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelBindGroupRole.h b/output_model/modelBindGroupRole.h deleted file mode 100644 index fff09e8..0000000 --- a/output_model/modelBindGroupRole.h +++ /dev/null @@ -1,31 +0,0 @@ -// -// modelBindGroupRole.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelBindGroupDoctor.h - - -@interface modelBindGroupRole : PMLModelBase - -/** - * 角色名称 - */ -@property (nonatomic, copy) NSString *roleName; - -/** - * 角色uuid - */ -@property (nonatomic, copy) NSString *uuid; - -/** - * 角色成员列表 - */ -@property (nonatomic, strong) NSArray *expertList; - - -@end \ No newline at end of file diff --git a/output_model/modelBindGroupRole.m b/output_model/modelBindGroupRole.m deleted file mode 100644 index b687c2a..0000000 --- a/output_model/modelBindGroupRole.m +++ /dev/null @@ -1,22 +0,0 @@ -// -// modelBindGroupRole.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelBindGroupRole.h - -@implementation modelBindGroupRole - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - -+ (NSValueTransformer *)expertListJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelBindGroupDoctor class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelBindPatientResponse.h b/output_model/modelBindPatientResponse.h deleted file mode 100644 index 0897b8f..0000000 --- a/output_model/modelBindPatientResponse.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// modelBindPatientResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelBindPatientResponse : PMLResponseModelBaseHD - - -@end \ No newline at end of file diff --git a/output_model/modelBindPatientResponse.m b/output_model/modelBindPatientResponse.m deleted file mode 100644 index ef931cc..0000000 --- a/output_model/modelBindPatientResponse.m +++ /dev/null @@ -1,20 +0,0 @@ -// -// modelBindPatientResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelBindPatientResponse.h - -@implementation modelBindPatientResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelGroupBindInfo.h b/output_model/modelGroupBindInfo.h deleted file mode 100644 index 4b5ec71..0000000 --- a/output_model/modelGroupBindInfo.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// modelGroupBindInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelBindGroupRole.h - - -@interface modelGroupBindInfo : PMLModelBase - -/** - * 签约关系uuid - */ -@property (nonatomic, copy) NSString *agreementUuid; - -/** - * 签约申请uuid - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 签约团队所在医院ID - */ -@property (nonatomic, copy) NSString *hospitalId; - -/** - * 签约团队所在医院名称(所属社区) - */ -@property (nonatomic, copy) NSString *hospitalName; - -/** - * 团队头像(绝对路径) - */ -@property (nonatomic, copy) NSString *groupImg; - -/** - * 团队名称 - */ -@property (nonatomic, copy) NSString *groupName; - -/** - * 电话 - */ -@property (nonatomic, copy) NSString *fixTelephone; - -/** - * 团队简介 - */ -@property (nonatomic, copy) NSString *groupRemark; - -/** - * 团队角色列表 - */ -@property (nonatomic, strong) NSArray *groupRoleList; - - -@end \ No newline at end of file diff --git a/output_model/modelGroupBindInfo.m b/output_model/modelGroupBindInfo.m deleted file mode 100644 index e9d6ba0..0000000 --- a/output_model/modelGroupBindInfo.m +++ /dev/null @@ -1,22 +0,0 @@ -// -// modelGroupBindInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelGroupBindInfo.h - -@implementation modelGroupBindInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - -+ (NSValueTransformer *)groupRoleListJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelBindGroupRole class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelGroupBindResponse.h b/output_model/modelGroupBindResponse.h deleted file mode 100644 index 15fb119..0000000 --- a/output_model/modelGroupBindResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelGroupBindResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelGroupBindInfo.h - - -@interface modelGroupBindResponse : PMLResponseModelBaseHD - -/** - *   - */ -@property (nonatomic, strong) modelGroupBindInfo *data; - - -@end \ No newline at end of file diff --git a/output_model/modelGroupBindResponse.m b/output_model/modelGroupBindResponse.m deleted file mode 100644 index bbb7f6e..0000000 --- a/output_model/modelGroupBindResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelGroupBindResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelGroupBindResponse.h - -@implementation modelGroupBindResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter dictionaryTransformerWithModelClass:[modelGroupBindInfo class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelIsQianYueResponse.h b/output_model/modelIsQianYueResponse.h deleted file mode 100644 index d7339d5..0000000 --- a/output_model/modelIsQianYueResponse.h +++ /dev/null @@ -1,20 +0,0 @@ -// -// modelIsQianYueResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelIsQianYueResponse : PMLResponseModelBaseHD - -/** - * 是否存在标识 如存在返回true,不存在为false - */ -@property (nonatomic, copy) NSString *data; - - -@end \ No newline at end of file diff --git a/output_model/modelIsQianYueResponse.m b/output_model/modelIsQianYueResponse.m deleted file mode 100644 index ec1fa1b..0000000 --- a/output_model/modelIsQianYueResponse.m +++ /dev/null @@ -1,20 +0,0 @@ -// -// modelIsQianYueResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelIsQianYueResponse.h - -@implementation modelIsQianYueResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelModifyBindResponse.h b/output_model/modelModifyBindResponse.h deleted file mode 100644 index fb78605..0000000 --- a/output_model/modelModifyBindResponse.h +++ /dev/null @@ -1,15 +0,0 @@ -// -// modelModifyBindResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelModifyBindResponse : PMLResponseModelBaseHD - - -@end \ No newline at end of file diff --git a/output_model/modelModifyBindResponse.m b/output_model/modelModifyBindResponse.m deleted file mode 100644 index 500faa5..0000000 --- a/output_model/modelModifyBindResponse.m +++ /dev/null @@ -1,20 +0,0 @@ -// -// modelModifyBindResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelModifyBindResponse.h - -@implementation modelModifyBindResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgDetailContent.h b/output_model/modelServicePkgDetailContent.h deleted file mode 100644 index ca6d28e..0000000 --- a/output_model/modelServicePkgDetailContent.h +++ /dev/null @@ -1,40 +0,0 @@ -// -// modelServicePkgDetailContent.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelServicePkgDetailContent : PMLModelBase - -/** - * 总次数 - */ -@property (nonatomic, assign) NSInteger count; - -/** - * 已使用次数 - */ -@property (nonatomic, assign) NSInteger useCount; - -/** - * 标签 - */ -@property (nonatomic, copy) NSString *tags; - -/** - * 项目类别 - */ -@property (nonatomic, copy) NSString *projectCategory; - -/** - * 项目名称 - */ -@property (nonatomic, copy) NSString *projectName; - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgDetailContent.m b/output_model/modelServicePkgDetailContent.m deleted file mode 100644 index 246eee2..0000000 --- a/output_model/modelServicePkgDetailContent.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelServicePkgDetailContent.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelServicePkgDetailContent.h - -@implementation modelServicePkgDetailContent - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgDetailInfo.h b/output_model/modelServicePkgDetailInfo.h deleted file mode 100644 index 27a47ec..0000000 --- a/output_model/modelServicePkgDetailInfo.h +++ /dev/null @@ -1,61 +0,0 @@ -// -// modelServicePkgDetailInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelServicePkgDetailContent.h - - -@interface modelServicePkgDetailInfo : PMLModelBase - -/** - * 服务包总量 - */ -@property (nonatomic, assign) NSInteger count; - -/** - * 服务包名称 - */ -@property (nonatomic, copy) NSString *pkgName; - -/** - * 服务包内容 - */ -@property (nonatomic, copy) NSString *pkgContent; - -/** - * 服务开始日期 - */ -@property (nonatomic, copy) NSString *serStartDate; - -/** - * 服务结束日期 - */ -@property (nonatomic, copy) NSString *serEndDate; - -/** - * 金额(分) - */ -@property (nonatomic, assign) NSInteger fee; - -/** - * 疾病标签 - */ -@property (nonatomic, copy) NSString *diseaseTags; - -/** - * 针对人群 - */ -@property (nonatomic, copy) NSString *crows; - -/** - * 已经服务的内容列表 - */ -@property (nonatomic, strong) NSArray *detailDOList; - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgDetailInfo.m b/output_model/modelServicePkgDetailInfo.m deleted file mode 100644 index cb1f792..0000000 --- a/output_model/modelServicePkgDetailInfo.m +++ /dev/null @@ -1,22 +0,0 @@ -// -// modelServicePkgDetailInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelServicePkgDetailInfo.h - -@implementation modelServicePkgDetailInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - -+ (NSValueTransformer *)detailDOListJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelServicePkgDetailContent class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgDetailResponse.h b/output_model/modelServicePkgDetailResponse.h deleted file mode 100644 index 225aadb..0000000 --- a/output_model/modelServicePkgDetailResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelServicePkgDetailResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelServicePkgDetailInfo.h - - -@interface modelServicePkgDetailResponse : PMLResponseModelBaseHD - -/** - *   - */ -@property (nonatomic, strong) modelServicePkgDetailInfo *data; - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgDetailResponse.m b/output_model/modelServicePkgDetailResponse.m deleted file mode 100644 index 416f051..0000000 --- a/output_model/modelServicePkgDetailResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelServicePkgDetailResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelServicePkgDetailResponse.h - -@implementation modelServicePkgDetailResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter dictionaryTransformerWithModelClass:[modelServicePkgDetailInfo class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgsListItem.h b/output_model/modelServicePkgsListItem.h deleted file mode 100644 index ab084cf..0000000 --- a/output_model/modelServicePkgsListItem.h +++ /dev/null @@ -1,60 +0,0 @@ -// -// modelServicePkgsListItem.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelServicePkgsListItem : PMLModelBase - -/** - * 服务包id - */ -@property (nonatomic, assign) NSInteger servicePkgId; - -/** - * 服务包总量 - */ -@property (nonatomic, assign) NSInteger count; - -/** - * 服务包名称 - */ -@property (nonatomic, copy) NSString *pkgName; - -/** - * 服务包内容 - */ -@property (nonatomic, copy) NSString *pkgContent; - -/** - * 服务开始日期 - */ -@property (nonatomic, copy) NSString *serStartDate; - -/** - * 服务结束日期 - */ -@property (nonatomic, copy) NSString *serEndDate; - -/** - * 金额(分) - */ -@property (nonatomic, assign) NSInteger fee; - -/** - * 疾病标签 - */ -@property (nonatomic, copy) NSString *diseaseTags; - -/** - * 针对人群 - */ -@property (nonatomic, copy) NSString *crows; - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgsListItem.m b/output_model/modelServicePkgsListItem.m deleted file mode 100644 index eafe7a0..0000000 --- a/output_model/modelServicePkgsListItem.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelServicePkgsListItem.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelServicePkgsListItem.h - -@implementation modelServicePkgsListItem - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgsListResponse.h b/output_model/modelServicePkgsListResponse.h deleted file mode 100644 index 589a2d1..0000000 --- a/output_model/modelServicePkgsListResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelServicePkgsListResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelServicePkgsListItem.h - - -@interface modelServicePkgsListResponse : PMLResponseModelBaseHD - -/** - *   - */ -@property (nonatomic, strong) NSArray *data; - - -@end \ No newline at end of file diff --git a/output_model/modelServicePkgsListResponse.m b/output_model/modelServicePkgsListResponse.m deleted file mode 100644 index 3611641..0000000 --- a/output_model/modelServicePkgsListResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelServicePkgsListResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelServicePkgsListResponse.h - -@implementation modelServicePkgsListResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelServicePkgsListItem class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelThirdQueryBindDetailResponse.h b/output_model/modelThirdQueryBindDetailResponse.h deleted file mode 100644 index 2757477..0000000 --- a/output_model/modelThirdQueryBindDetailResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelThirdQueryBindDetailResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelAgreementdetailInfo.h - - -@interface modelThirdQueryBindDetailResponse : PMLResponseModelBaseHD - -/** - * - */ -@property (nonatomic, strong) modelAgreementdetailInfo *data; - - -@end \ No newline at end of file diff --git a/output_model/modelThirdQueryBindDetailResponse.m b/output_model/modelThirdQueryBindDetailResponse.m deleted file mode 100644 index db6c992..0000000 --- a/output_model/modelThirdQueryBindDetailResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelThirdQueryBindDetailResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelThirdQueryBindDetailResponse.h - -@implementation modelThirdQueryBindDetailResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter dictionaryTransformerWithModelClass:[modelAgreementdetailInfo class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelUBAgreementInfo.h b/output_model/modelUBAgreementInfo.h deleted file mode 100644 index a95605b..0000000 --- a/output_model/modelUBAgreementInfo.h +++ /dev/null @@ -1,75 +0,0 @@ -// -// modelUBAgreementInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelUBAgreementInfo : PMLModelBase - -/** - * 签约关系UUID - */ -@property (nonatomic, copy) NSString *agreementUuid; - -/** - * 签约申请UUID - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 医生标准id - */ -@property (nonatomic, copy) NSString *expertId; - -/** - * 医生姓名 - */ -@property (nonatomic, copy) NSString *expertName; - -/** - * 就诊人id - */ -@property (nonatomic, assign) NSInteger patientId; - -/** - * 姓名 - */ -@property (nonatomic, copy) NSString *patientName; - -/** - * 患者头像照片地址 - */ -@property (nonatomic, copy) NSString *patientImg; - -/** - * 签约时间 - */ -@property (nonatomic, copy) NSString *signTime; - -/** - * 生效时间 - */ -@property (nonatomic, copy) NSString *effectiveTime; - -/** - * 失效时间 - */ -@property (nonatomic, copy) NSString *invalidTime; - -/** - * 签约关系状态 数据字典 - */ -@property (nonatomic, assign) NSInteger status; - -/** - * 是否默认签约关系 数据字典 - */ -@property (nonatomic, assign) NSInteger isDefault; - - -@end \ No newline at end of file diff --git a/output_model/modelUBAgreementInfo.m b/output_model/modelUBAgreementInfo.m deleted file mode 100644 index b3194da..0000000 --- a/output_model/modelUBAgreementInfo.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelUBAgreementInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelUBAgreementInfo.h - -@implementation modelUBAgreementInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelUserAgreementInfo.h b/output_model/modelUserAgreementInfo.h deleted file mode 100644 index a2870db..0000000 --- a/output_model/modelUserAgreementInfo.h +++ /dev/null @@ -1,100 +0,0 @@ -// -// modelUserAgreementInfo.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import - - -@interface modelUserAgreementInfo : PMLModelBase - -/** - * 签约关系uuid - */ -@property (nonatomic, copy) NSString *agreementUuid; - -/** - * 签约申请uuid - */ -@property (nonatomic, copy) NSString *agreementApplyUuid; - -/** - * 签约医生所在医院ID - */ -@property (nonatomic, copy) NSString *hospitalId; - -/** - * 签约医生所在医院名称 - */ -@property (nonatomic, copy) NSString *hospitalName; - -/** - * 签约医生所在医院地址 - */ -@property (nonatomic, copy) NSString *hospitalAdd; - -/** - * 签约医生ID - */ -@property (nonatomic, copy) NSString *expertId; - -/** - * 签约医生用户ID - */ -@property (nonatomic, assign) NSInteger expertUserId; - -/** - * 签约医生姓名 - */ -@property (nonatomic, copy) NSString *expertName; - -/** - * 签约医生头像 - */ -@property (nonatomic, copy) NSString *expertImg; - -/** - * 签约医生职称 - */ -@property (nonatomic, copy) NSString *techTitle; - -/** - * 签约医生性别 - */ -@property (nonatomic, copy) NSString *sex; - -/** - * 擅长 - */ -@property (nonatomic, copy) NSString *feature; - -/** - * 服务年限 - */ -@property (nonatomic, copy) NSString *serviceYear; - -/** - * 患者所属用户id - */ -@property (nonatomic, assign) NSInteger patientUserId; - -/** - * 就诊人id - */ -@property (nonatomic, assign) NSInteger patientId; - -/** - * 就诊人姓名 - */ -@property (nonatomic, copy) NSString *patientName; - -/** - * 就诊人头像地址 - */ -@property (nonatomic, copy) NSString *patientImg; - - -@end \ No newline at end of file diff --git a/output_model/modelUserAgreementInfo.m b/output_model/modelUserAgreementInfo.m deleted file mode 100644 index 410e93f..0000000 --- a/output_model/modelUserAgreementInfo.m +++ /dev/null @@ -1,19 +0,0 @@ -// -// modelUserAgreementInfo.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelUserAgreementInfo.h - -@implementation modelUserAgreementInfo - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - return [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; -} - - - -@end \ No newline at end of file diff --git a/output_model/modelUserAgreementResponse.h b/output_model/modelUserAgreementResponse.h deleted file mode 100644 index e964902..0000000 --- a/output_model/modelUserAgreementResponse.h +++ /dev/null @@ -1,21 +0,0 @@ -// -// modelUserAgreementResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelUserAgreementInfo.h - - -@interface modelUserAgreementResponse : PMLResponseModelBaseHD - -/** - *   - */ -@property (nonatomic, strong) modelUserAgreementInfo *data; - - -@end \ No newline at end of file diff --git a/output_model/modelUserAgreementResponse.m b/output_model/modelUserAgreementResponse.m deleted file mode 100644 index 8743232..0000000 --- a/output_model/modelUserAgreementResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelUserAgreementResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelUserAgreementResponse.h - -@implementation modelUserAgreementResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter dictionaryTransformerWithModelClass:[modelUserAgreementInfo class]]; -} - -@end \ No newline at end of file diff --git a/output_model/modelUserBindListResponse.h b/output_model/modelUserBindListResponse.h deleted file mode 100644 index bbc04fd..0000000 --- a/output_model/modelUserBindListResponse.h +++ /dev/null @@ -1,36 +0,0 @@ -// -// modelUserBindListResponse.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelUBAgreementInfo.h - - -@interface modelUserBindListResponse : PMLResponseModelBaseHD - -/** - * 当前页数 从 0开始,0代表第一页 - */ -@property (nonatomic, assign) NSInteger pageIndex; - -/** - * 一页大小 - */ -@property (nonatomic, assign) NSInteger pageSize; - -/** - * 总数 - */ -@property (nonatomic, assign) NSInteger total; - -/** - *   - */ -@property (nonatomic, strong) NSArray *data; - - -@end \ No newline at end of file diff --git a/output_model/modelUserBindListResponse.m b/output_model/modelUserBindListResponse.m deleted file mode 100644 index 3a297a7..0000000 --- a/output_model/modelUserBindListResponse.m +++ /dev/null @@ -1,23 +0,0 @@ -// -// modelUserBindListResponse.m -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import modelUserBindListResponse.h - -@implementation modelUserBindListResponse - -+ (NSDictionary *)JSONKeyPathsByPropertyKey { - NSDictionary *dict = [NSDictionary mtl_identityPropertyMapWithModel:[self class]]; - return [super mergeDict:dict withDict:[super JSONKeyPathsByPropertyKey]]; -} - - -+ (NSValueTransformer *)dataJSONTransformer { - return [MTLJSONAdapter arrayTransformerWithModelClass:[modelUBAgreementInfo class]]; -} - -@end \ No newline at end of file diff --git a/output_task/taskAgreementRel.h b/output_task/taskAgreementRel.h deleted file mode 100644 index 7e9a512..0000000 --- a/output_task/taskAgreementRel.h +++ /dev/null @@ -1,70 +0,0 @@ -// -// taskAgreementRel.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import -#import modelIsQianYueResponse; -#import modelBindPatientResponse; -#import modelAgreementTypeResponse; -#import modelUserAgreementResponse; -#import modelGroupBindResponse; -#import modelModifyBindResponse; -#import modelUserBindListResponse; -#import modelAgreementDetailResponse; -#import modelThirdQueryBindDetailResponse; -#import modelServicePkgsListResponse; -#import modelServicePkgDetailResponse; - - -@interface taskAgreementRel : PMLRESTBaseHD - -/** - * 是否存在绑定关系 - */ -- (NSURLSessionDataTask *)methodAgreementIsbind:(NSDictionary *)params completion:(void (^)(modelIsQianYueResponse *response, NSError *error))completion; -/** - * 绑定签约关系 - */ -- (NSURLSessionDataTask *)methodAgreementBindpatient:(NSDictionary *)params completion:(void (^)(modelBindPatientResponse *response, NSError *error))completion; -/** - * 查询用户签约信息类别 - */ -- (NSURLSessionDataTask *)methodAgreementType:(NSDictionary *)params completion:(void (^)(modelAgreementTypeResponse *response, NSError *error))completion; -/** - * 查询签约信息(个人签约) - */ -- (NSURLSessionDataTask *)methodAgreementInfo:(NSDictionary *)params completion:(void (^)(modelUserAgreementResponse *response, NSError *error))completion; -/** - * 查询签约信息(团队签约) - */ -- (NSURLSessionDataTask *)methodAgreementGroupinfo:(NSDictionary *)params completion:(void (^)(modelGroupBindResponse *response, NSError *error))completion; -/** - * 修改用户默认签约关系 - */ -- (NSURLSessionDataTask *)methodAgreementUpdatedefault:(NSDictionary *)params completion:(void (^)(modelModifyBindResponse *response, NSError *error))completion; -/** - * 查询居民签约信息列表 - */ -- (NSURLSessionDataTask *)methodAgreementList:(NSDictionary *)params completion:(void (^)(modelUserBindListResponse *response, NSError *error))completion; -/** - * 查询签约详情 - */ -- (NSURLSessionDataTask *)methodAgreementDetail:(NSDictionary *)params completion:(void (^)(modelAgreementDetailResponse *response, NSError *error))completion; -/** - * 查询签约详情(第三方,非登陆) - */ -- (NSURLSessionDataTask *)methodAgreementDetailbyct:(NSDictionary *)params completion:(void (^)(modelThirdQueryBindDetailResponse *response, NSError *error))completion; -/** - * 签约套餐列表信息 - */ -- (NSURLSessionDataTask *)methodAgreementServicepkgList:(NSDictionary *)params completion:(void (^)(modelServicePkgsListResponse *response, NSError *error))completion; -/** - * 签约服务包详情 - */ -- (NSURLSessionDataTask *)methodAgreementServicepkgDetail:(NSDictionary *)params completion:(void (^)(modelServicePkgDetailResponse *response, NSError *error))completion; - -@end \ No newline at end of file diff --git a/output_task/taskAgreementRel.m b/output_task/taskAgreementRel.m deleted file mode 100644 index e122c58..0000000 --- a/output_task/taskAgreementRel.m +++ /dev/null @@ -1,56 +0,0 @@ -// -// taskAgreementRel.h -// Homedoctor -// -// Created by walker on 2017-9-18. -// Copyright © 2017 WeDoctor Group All rights reserved. -// - -#import "taskAgreementRel.h" - -#define kEndpointmethodAgreementIsbind @"/agreement/isbind.json" // 是否存在绑定关系 -#define kEndpointmethodAgreementBindpatient @"/agreement/bindpatient.json" // 绑定签约关系 -#define kEndpointmethodAgreementType @"/agreement/type.json" // 查询用户签约信息类别 -#define kEndpointmethodAgreementInfo @"/agreement/info.json" // 查询签约信息(个人签约) -#define kEndpointmethodAgreementGroupinfo @"/agreement/groupinfo.json" // 查询签约信息(团队签约) -#define kEndpointmethodAgreementUpdatedefault @"/agreement/updatedefault.json" // 修改用户默认签约关系 -#define kEndpointmethodAgreementList @"/agreement/list.json" // 查询居民签约信息列表 -#define kEndpointmethodAgreementDetail @"/agreement/detail.json" // 查询签约详情 -#define kEndpointmethodAgreementDetailbyct @"/agreement/detailbyct.json" // 查询签约详情(第三方,非登陆) -#define kEndpointmethodAgreementServicepkgList @"/agreement/servicepkg/list.json" // 签约套餐列表信息 -#define kEndpointmethodAgreementServicepkgDetail @"/agreement/servicepkg/detail.json" // 签约服务包详情 - -@implementation taskAgreementRel - -PMTASK_INIT_SINGLETON - -+ (NSDictionary *)modelClassesByResourcePath { - return @{ - kEndpoint/agreement/isbind.json: [modelIsQianYueResponse class], - kEndpoint/agreement/bindpatient.json: [modelBindPatientResponse class], - kEndpoint/agreement/type.json: [modelAgreementTypeResponse class], - kEndpoint/agreement/info.json: [modelUserAgreementResponse class], - kEndpoint/agreement/groupinfo.json: [modelGroupBindResponse class], - kEndpoint/agreement/updatedefault.json: [modelModifyBindResponse class], - kEndpoint/agreement/list.json: [modelUserBindListResponse class], - kEndpoint/agreement/detail.json: [modelAgreementDetailResponse class], - kEndpoint/agreement/detailbyct.json: [modelThirdQueryBindDetailResponse class], - kEndpoint/agreement/servicepkg/list.json: [modelServicePkgsListResponse class], - kEndpoint/agreement/servicepkg/detail.json: [modelServicePkgDetailResponse class] - }; -} - - -PMTASK_EXPORT_IMP(methodAgreementIsbind, modelIsQianYueResponse) -PMTASK_EXPORT_IMP(methodAgreementBindpatient, modelBindPatientResponse) -PMTASK_EXPORT_IMP(methodAgreementType, modelAgreementTypeResponse) -PMTASK_EXPORT_IMP(methodAgreementInfo, modelUserAgreementResponse) -PMTASK_EXPORT_IMP(methodAgreementGroupinfo, modelGroupBindResponse) -PMTASK_EXPORT_IMP(methodAgreementUpdatedefault, modelModifyBindResponse) -PMTASK_EXPORT_IMP(methodAgreementList, modelUserBindListResponse) -PMTASK_EXPORT_IMP(methodAgreementDetail, modelAgreementDetailResponse) -PMTASK_EXPORT_IMP(methodAgreementDetailbyct, modelThirdQueryBindDetailResponse) -PMTASK_EXPORT_IMP(methodAgreementServicepkgList, modelServicePkgsListResponse) -PMTASK_EXPORT_IMP(methodAgreementServicepkgDetail, modelServicePkgDetailResponse) - -@end \ No newline at end of file diff --git a/templates/httpclient/task.m b/templates/httpclient/task.m index 6e13588..7d9e942 100644 --- a/templates/httpclient/task.m +++ b/templates/httpclient/task.m @@ -16,7 +16,7 @@ @implementation ${modulename} + (NSDictionary *)modelClassesByResourcePath { return @{${endpoints.map(e=>` - kEndpoint${e.path}: [${e.model} class],`).join('').slice(0,-1)} + kEndpoint${e.method}: [${e.model} class],`).join('').slice(0,-1)} }; }