Commit 3f002fd3 authored by 曹云霄's avatar 曹云霄

修改项说明:

parent bc517311
This source diff could not be displayed because it is too large. You can view the blob instead.
#import "opple_objc_json_client.h" #import "opple_objc_json_client.h"
@implementation ApplyRequest
@synthesize amount;
@synthesize billType;
@synthesize bankCardNumber;
@synthesize bankName;
@synthesize bankCode;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation RsApplyBillRequest @implementation RsApplyBillRequest
@synthesize employeeId; @synthesize employeeId;
@synthesize page; @synthesize page;
...@@ -67,9 +82,9 @@ ...@@ -67,9 +82,9 @@
@end @end
@implementation LoginInfo @implementation FunctionInfo
@synthesize username; @synthesize userName;
@synthesize password; @synthesize functionName;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -79,9 +94,23 @@ ...@@ -79,9 +94,23 @@
@end @end
@implementation ModifyPasswordRequest @implementation LoginResult
@synthesize employeeId; @synthesize employee;
@synthesize oldPassword; @synthesize commissionRate;
@synthesize commissionTotal;
@synthesize lowestDiscount;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation ResetPasswordRequest
@synthesize username;
@synthesize smsCode;
@synthesize fnewPassword; @synthesize fnewPassword;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
...@@ -100,8 +129,9 @@ ...@@ -100,8 +129,9 @@
@end @end
@implementation RsEmployeeRequest @implementation DataDict
@synthesize employee; @synthesize typeName;
@synthesize typecode;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -111,10 +141,15 @@ ...@@ -111,10 +141,15 @@
@end @end
@implementation GoodsCategory @implementation GoodsCondition
@synthesize fid; @synthesize nameLike;
@synthesize name; @synthesize categoryEquals;
@synthesize children; @synthesize styleEquals;
@synthesize spaceEquals;
@synthesize materialEqueals;
@synthesize startprice;
@synthesize endprice;
@synthesize page;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -122,14 +157,6 @@ ...@@ -122,14 +157,6 @@
} }
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
@implementation GoodsFilter @implementation GoodsFilter
...@@ -147,8 +174,11 @@ ...@@ -147,8 +174,11 @@
@end @end
@implementation HotFilter @implementation GroupByOrderNumber
@synthesize list; @synthesize orderNumber;
@synthesize orderTime;
@synthesize orderReceiptUrl;
@synthesize eCards;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -182,32 +212,6 @@ ...@@ -182,32 +212,6 @@
} }
@end
@implementation Draw
@synthesize fid;
@synthesize lotteryId;
@synthesize drawDate;
@synthesize winnerId;
@synthesize awardId;
@synthesize awardDescription;
@synthesize orderNumber;
@synthesize state;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
@implementation LotteryDrawResponse @implementation LotteryDrawResponse
...@@ -238,12 +242,12 @@ ...@@ -238,12 +242,12 @@
@end @end
@implementation OrderFilter @implementation OrderBill
@synthesize resellerCodeEquals; @synthesize datapage;
@synthesize orderStateEquals; @synthesize order;
@synthesize consumerNameOrMobileEquals; @synthesize orderdetailList;
@synthesize consumerIdEquals; @synthesize consumer;
@synthesize dp; @synthesize employee;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -274,6 +278,7 @@ ...@@ -274,6 +278,7 @@
@synthesize JDEcardsPrority; @synthesize JDEcardsPrority;
@synthesize drawPrority; @synthesize drawPrority;
@synthesize lotteryPrority; @synthesize lotteryPrority;
@synthesize wxCardPrority;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -289,6 +294,34 @@ ...@@ -289,6 +294,34 @@
} }
@end
@implementation PromotionGoods
@synthesize goods;
@synthesize promotionNumber;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation PassLevelCondition
@synthesize titleLike;
@synthesize beginDateFrom;
@synthesize endDateTo;
@synthesize validEquals;
@synthesize employeeIdEquals;
@synthesize page;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end @end
@implementation PrizeCondition @implementation PrizeCondition
...@@ -304,8 +337,21 @@ ...@@ -304,8 +337,21 @@
@end @end
@implementation RsActionResult @implementation RsPrizeBillResponse
@synthesize actions; @synthesize bills;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation SceneCondition
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize page;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -361,6 +407,33 @@ ...@@ -361,6 +407,33 @@
} }
@end
@implementation StudyTaskCondition
@synthesize typeEquals;
@synthesize stateEquals;
@synthesize titleLike;
@synthesize employeeIdEquals;
@synthesize page;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation RsShareResponse
@synthesize shareId;
@synthesize url;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end @end
@implementation TOApplyBillEntity @implementation TOApplyBillEntity
...@@ -379,6 +452,10 @@ ...@@ -379,6 +452,10 @@
@synthesize beforeMoney; @synthesize beforeMoney;
@synthesize afterMoney; @synthesize afterMoney;
@synthesize billStates; @synthesize billStates;
@synthesize billType;
@synthesize bankCardNumber;
@synthesize bankName;
@synthesize bankCode;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -396,21 +473,22 @@ ...@@ -396,21 +473,22 @@
@end @end
@implementation TOConsumerEntity @implementation TOCommissionHistEntity
@synthesize fid; @synthesize fid;
@synthesize createName; @synthesize createName;
@synthesize createBy;
@synthesize createDate; @synthesize createDate;
@synthesize sysOrgCode; @synthesize updateName;
@synthesize name; @synthesize updateBy;
@synthesize mobile; @synthesize updateDate;
@synthesize province; @synthesize resellerCode;
@synthesize city; @synthesize employeeId;
@synthesize country; @synthesize orderId;
@synthesize address; @synthesize amount;
@synthesize picture; @synthesize afteramount;
@synthesize lastVisitedTime; @synthesize remark;
@synthesize company; @synthesize orderNumber;
@synthesize employeeName;
@synthesize state;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -428,11 +506,47 @@ ...@@ -428,11 +506,47 @@
@end @end
@implementation TOGoodsForResellerEntity @implementation TOGoodsEntity
@synthesize resellerInv;
@synthesize resellerTagPrice;
@synthesize resellerState;
@synthesize categoryName;
@synthesize brandName;
@synthesize fid; @synthesize fid;
@synthesize resellerId; @synthesize createDate;
@synthesize goods; @synthesize onlineTime;
@synthesize path; @synthesize company;
@synthesize code;
@synthesize name;
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
@synthesize state;
@synthesize inv;
@synthesize detailedIntro;
@synthesize weight;
@synthesize unit;
@synthesize productProfile;
@synthesize power;
@synthesize colorTemperature;
@synthesize spec;
@synthesize function;
@synthesize material;
@synthesize lightSource;
@synthesize goodsStyle;
@synthesize series;
@synthesize area;
@synthesize size;
@synthesize space;
@synthesize installMethod;
@synthesize lightNumber;
@synthesize pictures;
@synthesize barcode;
@synthesize goodsResellerList;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -450,20 +564,46 @@ ...@@ -450,20 +564,46 @@
@end @end
@implementation TOGoodsBrandEntity @implementation VOResellerGoodsEntity
@synthesize fid; @synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate; @synthesize createDate;
@synthesize sysOrgCode; @synthesize onlineTime;
@synthesize sysCompanyCode; @synthesize company;
@synthesize code; @synthesize code;
@synthesize name; @synthesize name;
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
@synthesize state; @synthesize state;
@synthesize logo; @synthesize inv;
@synthesize fdescription; @synthesize detailedIntro;
@synthesize weight;
+(BOOL)propertyIsOptional:(NSString*)propertyName @synthesize unit;
@synthesize productProfile;
@synthesize power;
@synthesize colorTemperature;
@synthesize spec;
@synthesize function;
@synthesize material;
@synthesize lightSource;
@synthesize goodsStyle;
@synthesize series;
@synthesize area;
@synthesize size;
@synthesize space;
@synthesize installMethod;
@synthesize lightNumber;
@synthesize pictures;
@synthesize barcode;
@synthesize resellerId;
@synthesize categoryName;
@synthesize brandName;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
return YES; return YES;
} }
...@@ -472,7 +612,6 @@ ...@@ -472,7 +612,6 @@
+(JSONKeyMapper*)keyMapper +(JSONKeyMapper*)keyMapper
{ {
return [[JSONKeyMapper alloc] initWithDictionary:@{ return [[JSONKeyMapper alloc] initWithDictionary:@{
@"description": @"fdescription",
@"id": @"fid", @"id": @"fid",
}]; }];
} }
...@@ -480,13 +619,36 @@ ...@@ -480,13 +619,36 @@
@end @end
@implementation TOGoodsLabelEntity @implementation TOGoodsCategoryEntity
@synthesize category; @synthesize upperName;
@synthesize fid;
@synthesize code;
@synthesize name;
@synthesize upperId;
@synthesize level;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOGoodsLabelCategoryEntity
@synthesize fid; @synthesize fid;
@synthesize sysOrgCode; @synthesize sysOrgCode;
@synthesize sysCompanyCode; @synthesize sysCompanyCode;
@synthesize code;
@synthesize name; @synthesize name;
@synthesize categoryId;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -602,13 +764,51 @@ ...@@ -602,13 +764,51 @@
@end @end
@implementation TOPositionEntity NSString * const GRADEMETHOD_AUTO = @"auto";
NSString * const GRADEMETHOD_MANUL = @"manul";
@implementation TOPassLevelEntity
@synthesize fid; @synthesize fid;
@synthesize code; @synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize beginDate;
@synthesize endDate;
@synthesize passGrade;
@synthesize title;
@synthesize gradeMethod;
@synthesize valid;
@synthesize passResult;
@synthesize topics;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOPassLevelTopicOptionEntity
@synthesize fid;
@synthesize findex;
@synthesize value;
@synthesize name; @synthesize name;
@synthesize commission; @synthesize topicId;
@synthesize lowestDiscount; @synthesize answer;
@synthesize resellerCode;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -645,6 +845,36 @@ ...@@ -645,6 +845,36 @@
} }
@end
NSString * const TOPRIZEBILLENTITYSTATE_REQUESTED = @"requested";
NSString * const TOPRIZEBILLENTITYSTATE_SHIPPED = @"shipped";
NSString * const TOPRIZEBILLENTITYSTATE_DONE = @"done";
@implementation TOSceneEntity
@synthesize fid;
@synthesize sceneCode;
@synthesize name;
@synthesize pricure;
@synthesize category;
@synthesize style;
@synthesize space;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
@implementation TOShippingAddrEntity @implementation TOShippingAddrEntity
...@@ -675,10 +905,67 @@ ...@@ -675,10 +905,67 @@
@end @end
@implementation UCN NSString * const STUDYTASKSTATE_INITIAL = @"initial";
@synthesize uuid; NSString * const STUDYTASKSTATE_SUBMITTED = @"submitted";
@synthesize code;
@implementation TOStudyEmployeeEntity
@synthesize fid;
@synthesize employeeId;
@synthesize taskId;
@synthesize empName;
@synthesize empRealName;
@synthesize empDepart;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOStudyTopicEntity
@synthesize fid;
@synthesize lineNo;
@synthesize topicType;
@synthesize title;
@synthesize answer;
@synthesize grade;
@synthesize taskId;
@synthesize options;
@synthesize option;
@synthesize topicTypeName;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOStudyTypeEntity
@synthesize fid;
@synthesize name; @synthesize name;
@synthesize attachmentId;
@synthesize attachment;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -686,6 +973,14 @@ ...@@ -686,6 +973,14 @@
} }
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
@implementation Action @implementation Action
...@@ -696,14 +991,97 @@ ...@@ -696,14 +991,97 @@
} }
@end
@implementation IdEntity
@synthesize fid;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
NSString * const SORTDIRECTION_ASC = @"asc"; NSString * const SORTDIRECTION_ASC = @"asc";
NSString * const SORTDIRECTION_DESC = @"desc"; NSString * const SORTDIRECTION_DESC = @"desc";
@implementation IdEntity @implementation UCN
@synthesize uuid;
@synthesize code;
@synthesize name;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation TOStudyTopicOptionEntity
@synthesize fid;
@synthesize findex;
@synthesize value;
@synthesize name;
@synthesize topicId;
@synthesize answer;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOStudyTaskEntity
@synthesize fid; @synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize studyType;
@synthesize passGrade;
@synthesize examMinute;
@synthesize state;
@synthesize title;
@synthesize typeName;
@synthesize examResult;
@synthesize content;
@synthesize teacher;
@synthesize teacherIntro;
@synthesize suitabler;
@synthesize attachmentId;
@synthesize attachment;
@synthesize teacherAttachment;
@synthesize attachmentName;
@synthesize employees;
@synthesize topics;
@synthesize stateName;
@synthesize studyCategory;
@synthesize categoryName;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -721,6 +1099,11 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -721,6 +1099,11 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
NSString * const STUDYTOPICTYPE_SINGLE = @"single";
NSString * const STUDYTOPICTYPE_MULTIPLE = @"multiple";
NSString * const STUDYTOPICTYPE_TRUEORFALSE = @"trueorfalse";
@implementation TOShopcartEntity @implementation TOShopcartEntity
@synthesize goods; @synthesize goods;
@synthesize fid; @synthesize fid;
...@@ -752,14 +1135,14 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -752,14 +1135,14 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation TOSceneEntity @implementation TOScoreRecordEntity
@synthesize fid; @synthesize fid;
@synthesize sceneCode; @synthesize createDate;
@synthesize name; @synthesize employeeId;
@synthesize pricure; @synthesize score;
@synthesize category; @synthesize sourceId;
@synthesize style; @synthesize sourceType;
@synthesize space; @synthesize sourceReason;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -805,6 +1188,96 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -805,6 +1188,96 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation TOPrizeBillEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize billnumber;
@synthesize state;
@synthesize receiver;
@synthesize mobilephone;
@synthesize receiveAddress;
@synthesize employee;
@synthesize logisticsCompany;
@synthesize trackingNumber;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOPositionEntity
@synthesize fid;
@synthesize code;
@synthesize name;
@synthesize commission;
@synthesize lowestDiscount;
@synthesize resellerCode;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOPassLevelTopicEntity
@synthesize fid;
@synthesize topicType;
@synthesize lineNo;
@synthesize title;
@synthesize answer;
@synthesize grade;
@synthesize passLevelId;
@synthesize options;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
NSString * const PASSLEVELTOPICTYPE_SINGLE = @"single";
NSString * const PASSLEVELTOPICTYPE_MULTIPLE = @"multiple";
NSString * const PASSLEVELTOPICTYPE_TRUEORFALSE = @"trueorfalse";
NSString * const PASSLEVELTOPICTYPE_GAPFILLING = @"gapFilling";
NSString * const PASSLEVELTOPICTYPE_SHORTANSWER = @"shortAnswer";
@implementation TOOrderPromotionEntity @implementation TOOrderPromotionEntity
@synthesize fid; @synthesize fid;
@synthesize createName; @synthesize createName;
...@@ -826,6 +1299,7 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -826,6 +1299,7 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@synthesize wxcardDenomation; @synthesize wxcardDenomation;
@synthesize wxcardRealDeduction; @synthesize wxcardRealDeduction;
@synthesize jdecardDenomation; @synthesize jdecardDenomation;
@synthesize redPackageNumber;
@synthesize redPackageCount; @synthesize redPackageCount;
@synthesize prority; @synthesize prority;
...@@ -873,7 +1347,6 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -873,7 +1347,6 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@synthesize resellerName; @synthesize resellerName;
@synthesize oldPrice; @synthesize oldPrice;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
return YES; return YES;
...@@ -923,12 +1396,19 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -923,12 +1396,19 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation TOGoodsLabelCategoryEntity @implementation TOGuideBankcardEntity
@synthesize fid; @synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode; @synthesize sysOrgCode;
@synthesize sysCompanyCode; @synthesize guideId;
@synthesize code; @synthesize bankCardNumber;
@synthesize name; @synthesize bankName;
@synthesize bankCode;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -946,13 +1426,13 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -946,13 +1426,13 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation TOGoodsCategoryEntity @implementation TOGoodsLabelEntity
@synthesize upperName; @synthesize category;
@synthesize fid; @synthesize fid;
@synthesize code; @synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name; @synthesize name;
@synthesize upperId; @synthesize categoryId;
@synthesize level;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -970,44 +1450,73 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -970,44 +1450,73 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation VOResellerGoodsEntity @implementation TOGoodsBrandEntity
@synthesize fid; @synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate; @synthesize createDate;
@synthesize onlineTime; @synthesize sysOrgCode;
@synthesize company; @synthesize sysCompanyCode;
@synthesize code; @synthesize code;
@synthesize name; @synthesize name;
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
@synthesize state; @synthesize state;
@synthesize inv; @synthesize logo;
@synthesize detailedIntro; @synthesize fdescription;
@synthesize weight;
@synthesize unit; +(BOOL)propertyIsOptional:(NSString*)propertyName
@synthesize productProfile; {
@synthesize power; return YES;
@synthesize colorTemperature; }
@synthesize spec;
@synthesize function;
@synthesize material; +(JSONKeyMapper*)keyMapper
@synthesize lightSource; {
@synthesize goodsStyle; return [[JSONKeyMapper alloc] initWithDictionary:@{
@synthesize series; @"description": @"fdescription",
@synthesize area; @"id": @"fid",
@synthesize size; }];
@synthesize space; }
@synthesize installMethod;
@synthesize lightNumber;
@synthesize pictures; @end
@synthesize barcode;
@implementation TOGoodsForResellerEntity
@synthesize fid;
@synthesize resellerId; @synthesize resellerId;
@synthesize categoryName; @synthesize goods;
@synthesize brandName; @synthesize path;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end
@implementation TOConsumerEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize name;
@synthesize mobile;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
@synthesize picture;
@synthesize lastVisitedTime;
@synthesize company;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1025,47 +1534,15 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1025,47 +1534,15 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation TOGoodsEntity @implementation TOAttachmentEntity
@synthesize resellerInv;
@synthesize resellerTagPrice;
@synthesize resellerState;
@synthesize categoryName;
@synthesize brandName;
@synthesize fid; @synthesize fid;
@synthesize createDate; @synthesize fileName;
@synthesize onlineTime; @synthesize fileUrl;
@synthesize company; @synthesize thumbnailName;
@synthesize code; @synthesize thumbnailUrl;
@synthesize name; @synthesize entityType;
@synthesize number; @synthesize entityId;
@synthesize categoryId; @synthesize playTime;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
@synthesize state;
@synthesize inv;
@synthesize detailedIntro;
@synthesize weight;
@synthesize unit;
@synthesize productProfile;
@synthesize power;
@synthesize colorTemperature;
@synthesize spec;
@synthesize function;
@synthesize material;
@synthesize lightSource;
@synthesize goodsStyle;
@synthesize series;
@synthesize area;
@synthesize size;
@synthesize space;
@synthesize installMethod;
@synthesize lightNumber;
@synthesize pictures;
@synthesize barcode;
@synthesize goodsResellerList;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1083,22 +1560,20 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1083,22 +1560,20 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation TOCommissionHistEntity @implementation TOAfficheEntity
@synthesize fid; @synthesize fid;
@synthesize createName; @synthesize createName;
@synthesize createDate; @synthesize createDate;
@synthesize updateName; @synthesize updateName;
@synthesize updateBy;
@synthesize updateDate; @synthesize updateDate;
@synthesize resellerCode; @synthesize title;
@synthesize employeeId; @synthesize content;
@synthesize orderId; @synthesize priority;
@synthesize amount;
@synthesize afteramount;
@synthesize remark;
@synthesize orderNumber;
@synthesize employeeName;
@synthesize state; @synthesize state;
@synthesize afficheType;
@synthesize attachmentId;
@synthesize departId;
@synthesize attachmentUrls;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1116,9 +1591,20 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1116,9 +1591,20 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation RsShareResponse @implementation StudyTypeResponse
@synthesize shareId; @synthesize types;
@synthesize url;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation RsStudyTask
@synthesize categoryName;
@synthesize studyTasks;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1139,10 +1625,22 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1139,10 +1625,22 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation SceneCondition @implementation RsScoreDetails
@synthesize styleEquals; @synthesize currentScore;
@synthesize spaceEquals; @synthesize quarterlyRanking;
@synthesize page; @synthesize annualRanking;
@synthesize recoreds;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end
@implementation RsActionResult
@synthesize actions;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1164,9 +1662,12 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1164,9 +1662,12 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation PromotionGoods @implementation OrderFilter
@synthesize goods; @synthesize resellerCodeEquals;
@synthesize promotionNumber; @synthesize orderStateEquals;
@synthesize consumerNameOrMobileEquals;
@synthesize consumerIdEquals;
@synthesize dp;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1176,12 +1677,15 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1176,12 +1677,15 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation OrderBill @implementation Draw
@synthesize datapage; @synthesize fid;
@synthesize order; @synthesize lotteryId;
@synthesize orderdetailList; @synthesize drawDate;
@synthesize consumer; @synthesize winnerId;
@synthesize employee; @synthesize awardId;
@synthesize awardDescription;
@synthesize orderNumber;
@synthesize state;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1189,13 +1693,18 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1189,13 +1693,18 @@ NSString * const SORTDIRECTION_DESC = @"desc";
} }
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
@implementation GroupByOrderNumber @implementation HotFilter
@synthesize orderNumber; @synthesize list;
@synthesize orderTime;
@synthesize orderReceiptUrl;
@synthesize eCards;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1205,15 +1714,10 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1205,15 +1714,10 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation GoodsCondition @implementation GoodsCategory
@synthesize nameLike; @synthesize fid;
@synthesize categoryEquals; @synthesize name;
@synthesize styleEquals; @synthesize children;
@synthesize spaceEquals;
@synthesize materialEqueals;
@synthesize startprice;
@synthesize endprice;
@synthesize page;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1221,11 +1725,18 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1221,11 +1725,18 @@ NSString * const SORTDIRECTION_DESC = @"desc";
} }
+(JSONKeyMapper*)keyMapper
{
return [[JSONKeyMapper alloc] initWithDictionary:@{
@"id": @"fid",
}];
}
@end @end
@implementation DataDict @implementation RsEmployeeRequest
@synthesize typeName; @synthesize employee;
@synthesize typecode;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1235,9 +1746,9 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1235,9 +1746,9 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation ResetPasswordRequest @implementation ModifyPasswordRequest
@synthesize username; @synthesize employeeId;
@synthesize smsCode; @synthesize oldPassword;
@synthesize fnewPassword; @synthesize fnewPassword;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
...@@ -1256,11 +1767,9 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1256,11 +1767,9 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation LoginResult @implementation LoginInfo
@synthesize employee; @synthesize username;
@synthesize commissionRate; @synthesize password;
@synthesize commissionTotal;
@synthesize lowestDiscount;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1303,6 +1812,12 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1303,6 +1812,12 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@synthesize yesterdayEarnings; @synthesize yesterdayEarnings;
@synthesize historyEarning; @synthesize historyEarning;
@synthesize applytotal; @synthesize applytotal;
@synthesize redPackageAccountTotal;
@synthesize redPackageYesterdayEarnings;
@synthesize redPackageHistoryEarning;
@synthesize redPackageApplytotal;
@synthesize isUsable;
@synthesize bankCards;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1312,19 +1827,13 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1312,19 +1827,13 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation ApplyRequest @implementation AfficheCondition
@synthesize amount; @synthesize page;
@synthesize userIdEquals;
+(BOOL)propertyIsOptional:(NSString*)propertyName @synthesize dayCountEquals;
{ @synthesize afficheTypeEuals;
return YES; @synthesize order;
} @synthesize sort;
@end
@implementation RsJingDongECardResponse
@synthesize list;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1334,8 +1843,8 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1334,8 +1843,8 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation RsSimpleJingDongECardResponse @implementation GoodsResponse
@synthesize list; @synthesize goodsEntity;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1391,6 +1900,17 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1391,6 +1900,17 @@ NSString * const SORTDIRECTION_DESC = @"desc";
} }
@end
@implementation RsJingDongECardResponse
@synthesize list;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end @end
@implementation TSUserOrg @implementation TSUserOrg
...@@ -1403,6 +1923,18 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1403,6 +1923,18 @@ NSString * const SORTDIRECTION_DESC = @"desc";
} }
@end
@implementation RsAwardDraw
@synthesize draw;
@synthesize award;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end @end
@implementation RsLotteryResponse @implementation RsLotteryResponse
...@@ -1414,6 +1946,17 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1414,6 +1946,17 @@ NSString * const SORTDIRECTION_DESC = @"desc";
} }
@end
@implementation PassLevelResponse
@synthesize passLevelEntity;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end @end
@implementation ShopCartResponse @implementation ShopCartResponse
...@@ -1436,6 +1979,17 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1436,6 +1979,17 @@ NSString * const SORTDIRECTION_DESC = @"desc";
} }
@end
@implementation PrizeResponse
@synthesize prizes;
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
return YES;
}
@end @end
@implementation OrderResponse @implementation OrderResponse
...@@ -1449,9 +2003,8 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1449,9 +2003,8 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation RsAwardDraw @implementation RsSimpleJingDongECardResponse
@synthesize draw; @synthesize list;
@synthesize award;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1461,8 +2014,8 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1461,8 +2014,8 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation GoodsResponse @implementation RsCommissionResponse
@synthesize goodsEntity; @synthesize list;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
...@@ -1483,7 +2036,7 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1483,7 +2036,7 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation RsCommissionResponse @implementation RsApplyBillResponse
@synthesize list; @synthesize list;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
...@@ -1494,8 +2047,8 @@ NSString * const SORTDIRECTION_DESC = @"desc"; ...@@ -1494,8 +2047,8 @@ NSString * const SORTDIRECTION_DESC = @"desc";
@end @end
@implementation RsApplyBillResponse @implementation AfficheResponse
@synthesize list; @synthesize afficheEntity;
+(BOOL)propertyIsOptional:(NSString*)propertyName +(BOOL)propertyIsOptional:(NSString*)propertyName
{ {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment