
#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
@synthesize employeeId;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation VDesignerEntity
@synthesize fid;
@synthesize areaName;
@synthesize officeName;
@synthesize resellerName;
@synthesize storeName;
@synthesize realName;
@synthesize userName;
@synthesize areaId;
@synthesize areaCode;
@synthesize officeId;
@synthesize officeCode;
@synthesize resellerId;
@synthesize resellerCode;
@synthesize storeId;
@synthesize storeCode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation DesignerPageResult
@synthesize results;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TODesignerCustomerEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize name;
@synthesize phone;
@synthesize address;
@synthesize designerUuid;
@synthesize designerCode;
@synthesize designerName;
@synthesize livingRoomPictureUrl;
@synthesize bedroomPictureUrl;
@synthesize diningRoomPictureUrl;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation ConsumerDesignerPageResult
@synthesize results;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation ConsumerDesigner
@synthesize consumer;
@synthesize designerCustomer;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsCommissionRequest
@synthesize emploreeId;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOBannerEntity
@synthesize fid;
@synthesize createDate;
@synthesize updateDate;
@synthesize name;
@synthesize url;
@synthesize state;
@synthesize attachmentId;
@synthesize border;
@synthesize attachment;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end


@implementation DataPage
@synthesize total;
@synthesize page;
@synthesize rows;
@synthesize sort;
@synthesize order;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end



@implementation BannerResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation BannerSpeed
@synthesize spend;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation PageRows
@synthesize page;
@synthesize rows;
@synthesize total;
@synthesize totalpages;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsResponse
@synthesize code;
@synthesize message;
@synthesize data;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation FunctionInfo
@synthesize userName;
@synthesize functionName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation LoginResult
@synthesize employee;
@synthesize commissionRate;
@synthesize commissionTotal;
@synthesize lowestDiscount;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}

@end

@implementation ResetPasswordRequest
@synthesize username;
@synthesize smsCode;
@synthesize fnewPassword;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fnewPassword": @"newPassword",
                                                       }];
}


@end

@implementation ForumTopicCondition
@synthesize categoryEquals;
@synthesize posterIdEquals;
@synthesize titleLike;
@synthesize postTimeFrom;
@synthesize postTimeTo;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DataDict
@synthesize typeName;
@synthesize typecode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


- (CGFloat)typeNameWidth {
    if (_typeNameWidth) {
        return _typeNameWidth;
    }
    NSDictionary *attrs = @{NSFontAttributeName:[UIFont systemFontOfSize:13]};
    return [typeName boundingRectWithSize:CGSizeMake(0, CGFLOAT_MAX) options:NSStringDrawingTruncatesLastVisibleLine | NSStringDrawingUsesLineFragmentOrigin | NSStringDrawingUsesFontLeading attributes:attrs context:nil].size.width;
}

@end

@implementation GoodsCondition
@synthesize nameLike;
@synthesize categoryEquals;
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize materialEqueals;
@synthesize startprice;
@synthesize endprice;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GoodsFilter
@synthesize styles;
@synthesize categories;
@synthesize space;
@synthesize material;
@synthesize price;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GroupByOrderNumber
@synthesize orderNumber;
@synthesize orderTime;
@synthesize orderReceiptUrl;
@synthesize eCards;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsJingDongECardRequest
@synthesize guideIdEquals;
@synthesize stateEquals;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsSimpleJingDongECardRequest
@synthesize guideIdEquals;
@synthesize stateEquals;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation LotteryDrawResponse
@synthesize awards;
@synthesize descriptions;
@synthesize rule;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsLotteryRequest
@synthesize winnerIdEquals;
@synthesize lotteryIdEquals;
@synthesize orderNumberEquals;
@synthesize stateEquals;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OrderBill
@synthesize datapage;
@synthesize order;
@synthesize orderdetailList;
@synthesize consumer;
@synthesize employee;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OrderPayRequest
@synthesize orderNumber;
@synthesize oldstate;
@synthesize fnewstate;
@synthesize payType;
@synthesize isbill;
@synthesize billType;
@synthesize billTitle;
@synthesize realAmount;
@synthesize lotteryId;
@synthesize drawId;
@synthesize promotionGoods;
@synthesize jdCardDenomation;
@synthesize promotionMoney;
@synthesize wxcardNumber;
@synthesize wxcardDenomation;
@synthesize deductionPrority;
@synthesize goodsPrority;
@synthesize JDEcardsPrority;
@synthesize drawPrority;
@synthesize lotteryPrority;
@synthesize wxCardPrority;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fnewstate": @"newstate",
                                                       }];
}


@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

@implementation PrizeCondition
@synthesize codeLike;
@synthesize nameLike;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsPrizeBillResponse
@synthesize bills;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation SceneCondition
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation SceneFilter
@synthesize styles;
@synthesize space;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsShippingAddrEntity
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation SaveShoppingCartRequest
@synthesize consumerId;
@synthesize goodsId;
@synthesize count;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ShopCartFilter
@synthesize consumerId;
@synthesize dp;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation StudyTaskCondition
@synthesize typeEquals;
@synthesize stateEquals;
@synthesize titleLike;
@synthesize employeeIdEquals;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation StudyTypeResponse
@synthesize types;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOAfficheEntity
@synthesize fid;
@synthesize createName;
@synthesize createDate;
@synthesize updateName;
@synthesize updateDate;
@synthesize title;
@synthesize content;
@synthesize priority;
@synthesize state;
@synthesize afficheType;
@synthesize attachmentId;
@synthesize departId;
@synthesize attachmentUrls;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOAttachmentEntity
@synthesize fid;
@synthesize fileName;
@synthesize fileUrl;
@synthesize thumbnailName;
@synthesize thumbnailUrl;
@synthesize entityType;
@synthesize entityId;
@synthesize playTime;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation ToStoreAddress
@synthesize fid;
@synthesize createDate;
@synthesize updateDate;
@synthesize storecode;
@synthesize resellerid;
@synthesize province;
@synthesize city;
@synthesize country;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@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
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOForumTopicEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize category;
@synthesize title;
@synthesize content;
@synthesize posterId;
@synthesize postTime;
@synthesize bestTopic;
@synthesize replyCount;
@synthesize likeCount;
@synthesize posterName;
@synthesize posterRealName;
@synthesize posterPosition;
@synthesize attachmentId;
@synthesize attachments;
@synthesize canLike;
@synthesize replys;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOGoodsForResellerEntity
@synthesize fid;
@synthesize resellerId;
@synthesize goods;
@synthesize path;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOGoodsBrandEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize code;
@synthesize name;
@synthesize state;
@synthesize logo;
@synthesize fdescription;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fdescription": @"description",
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation ForumReplyCondition
@synthesize topicIdEquals;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOGoodsLabelEntity
@synthesize category;
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name;
@synthesize categoryId;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation ForumReplyResponse
@synthesize forumReplyEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end



@implementation TOBankCardEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize guideId;
@synthesize guideName;
@synthesize bankAccount;
@synthesize accountName;
@synthesize identityCode;
@synthesize phoneNumber;
@synthesize guideRealname;
@synthesize bankCardType;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOAwardEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize remainTotal;
@synthesize drawRate;
@synthesize type;
@synthesize number;
@synthesize fdescription;
@synthesize lotteryId;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fdescription": @"description",
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOOrderEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize orderNumber;
@synthesize orderTime;
@synthesize guideId;
@synthesize orderState;
@synthesize consumerId;
@synthesize goodsNum;
@synthesize orderPrice;
@synthesize receiverName;
@synthesize receiverMobile;
@synthesize receiverAddress;
@synthesize isBill;
@synthesize billType;
@synthesize billTitle;
@synthesize payType;
@synthesize consumerName;
@synthesize guideName;
@synthesize resellerName;
@synthesize oldPrice;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOOrderPromotionEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize goodsId;
@synthesize goodsCode;
@synthesize goodsName;
@synthesize promotionNumber;
@synthesize promotionMoney;
@synthesize orderNumber;
@synthesize discountRate;
@synthesize lotteryPackage;
@synthesize wxcardNumber;
@synthesize wxcardDenomation;
@synthesize wxcardRealDeduction;
@synthesize jdecardDenomation;
@synthesize redPackageNumber;
@synthesize redPackageCount;
@synthesize prority;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@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 TOPassLevelTopicEntity
@synthesize fid;
@synthesize topicType;
@synthesize lineNo;
@synthesize title;
@synthesize answer;
@synthesize grade;
@synthesize passLevelId;
@synthesize options;
@synthesize topicTypeName;
@synthesize optionName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOPassLevelResultEntity
@synthesize fid;
@synthesize employeeId;
@synthesize submitTime;
@synthesize passResult;
@synthesize grade;
@synthesize passLevelId;
@synthesize details;
@synthesize employeeName;
@synthesize employeeRealName;
@synthesize departName;
@synthesize gradeMethodName;
@synthesize passResultName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation ForumCategoryResponse
@synthesize categories;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RedPackageGroupbyOrderNumber
@synthesize orderNumber;
@synthesize orderTime;
@synthesize orderReceiptUrl;
@synthesize draws;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}




@end


@implementation RsRedPackageConditions
@synthesize stateEquals;
@synthesize page;
@synthesize guideIdEquals;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RedPackageResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation TOForumCategoryEntity
@synthesize fid;
@synthesize name;
@synthesize fdescription;
@synthesize attachmentId;
@synthesize attachment;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fdescription": @"description",
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOPassLevelResultDetailEntity
@synthesize fid;
@synthesize topicId;
@synthesize answer;
@synthesize resultId;
@synthesize grade;
@synthesize note;
@synthesize topic;
@synthesize gradeMethodName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOPrizeEntity
@synthesize fid;
@synthesize picture;
@synthesize createName;
@synthesize createBy;
@synthesize updateName;
@synthesize updateBy;
@synthesize code;
@synthesize name;
@synthesize createDate;
@synthesize updateDate;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOScoreRecordEntity
@synthesize fid;
@synthesize createDate;
@synthesize employeeId;
@synthesize score;
@synthesize sourceId;
@synthesize sourceType;
@synthesize sourceReason;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOShopcartEntity
@synthesize goods;
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize goodsId;
@synthesize goodsNum;
@synthesize consumerId;
@synthesize resellerId;
@synthesize costPrice;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

NSString * const STUDYTOPICTYPE_SINGLE = @"single";
NSString * const STUDYTOPICTYPE_MULTIPLE = @"multiple";
NSString * const STUDYTOPICTYPE_TRUEORFALSE = @"trueorfalse";


@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOStudyResultEntity
@synthesize fid;
@synthesize submitTime;
@synthesize employeeId;
@synthesize taskId;
@synthesize grade;
@synthesize examResult;
@synthesize details;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                                  @"fid": @"id",
                                                                  }];
}


@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOStudyTypeEntity
@synthesize fid;
@synthesize name;
@synthesize attachmentId;
@synthesize attachment;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end


@implementation TOResellerstoreEntity
@synthesize fid;
@synthesize createDate;
@synthesize updateDate;
@synthesize resellerid;
@synthesize storecode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation Action

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation IdEntity
@synthesize fid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

NSString * const SORTDIRECTION_ASC = @"asc";
NSString * const SORTDIRECTION_DESC = @"desc";


@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOStudyTaskEntity
@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 studyComplete;
@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 hasStudyTopic;
@synthesize categoryName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TimeLineTypeResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TimeLineType
@synthesize year;
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOStudyResultDetailEntity
@synthesize fid;
@synthesize topicId;
@synthesize answer;
@synthesize resultId;
@synthesize grade;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOStudyContentEntity
@synthesize fid;
@synthesize title;
@synthesize lineNo;
@synthesize content;
@synthesize taskId;
@synthesize attachmentId;
@synthesize teacher;
@synthesize teacherIntro;
@synthesize teacherAttachment;
@synthesize suitabler;
@synthesize attachment;
@synthesize attachmentName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end


@implementation TOAttachmentPlayEntity

+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}

@end


NSString * const STUDYTASKSTATE_INITIAL = @"initial";
NSString * const STUDYTASKSTATE_SUBMITTED = @"submitted";
NSString * const STUDYTASKSTATE_USED = @"used";
NSString * const STUDYTASKSTATE_REFUSE = @"refuse";




@implementation TOShippingAddrEntity
@synthesize fid;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize name;
@synthesize miblephone;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
@synthesize consumerId;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end


@implementation RedPackageDetail
@synthesize promotionBillNumber;
@synthesize money;
@synthesize redPrority;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

NSString * const TOPRIZEBILLENTITYSTATE_REQUESTED = @"requested";
NSString * const TOPRIZEBILLENTITYSTATE_SHIPPED = @"shipped";
NSString * const TOPRIZEBILLENTITYSTATE_DONE = @"done";


@implementation TOPrizeBillDetailsEntity
@synthesize fid;
@synthesize bill;
@synthesize prize;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOPassLevelTopicOptionEntity
@synthesize fid;
@synthesize findex;
@synthesize value;
@synthesize name;
@synthesize topicId;
@synthesize answer;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOPassLevelEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize endDate;
@synthesize passGrade;
@synthesize title;
@synthesize gradeMethod;
@synthesize gradeMethodName;
@synthesize valid;
@synthesize passResult;
@synthesize topics;
@synthesize stateName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

NSString * const GRADEMETHOD_AUTO = @"auto";
NSString * const GRADEMETHOD_MANUL = @"manul";


@implementation TOOrderdetailEntity
@synthesize brandName;
@synthesize fid;
@synthesize goodsId;
@synthesize goodsCode;
@synthesize goodsName;
@synthesize goodsCover;
@synthesize goodsSpec;
@synthesize goodsBrand;
@synthesize goodsNum;
@synthesize goodsPrice;
@synthesize goodsTotalPrice;
@synthesize orderId;
@synthesize goodsUnit;
@synthesize remark;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TODrawEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize drawDate;
@synthesize winnerId;
@synthesize awardId;
@synthesize awardDescription;
@synthesize orderNumber;
@synthesize state;
@synthesize lotteryId;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOJingdongEcardEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize cardNumber;
@synthesize cardPassword;
@synthesize denomation;
@synthesize state;
@synthesize guideId;
@synthesize orderNumber;
@synthesize orderReceiptUrl;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOGoodsLabelCategoryEntity
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize code;
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOGoodsCategoryEntity
@synthesize upperName;
@synthesize fid;
@synthesize code;
@synthesize name;
@synthesize upperId;
@synthesize level;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation VOResellerGoodsEntity
@synthesize fid;
@synthesize createDate;
@synthesize onlineTime;
@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 resellerId;
@synthesize categoryName;
@synthesize brandName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOGoodsEntity
@synthesize resellerInv;
@synthesize resellerTagPrice;
@synthesize resellerState;
@synthesize categoryName;
@synthesize brandName;
@synthesize fid;
@synthesize createDate;
@synthesize onlineTime;
@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
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOForumReplyEntity
@synthesize fid;
@synthesize replyerId;
@synthesize replyTime;
@synthesize replyContent;
@synthesize best;
@synthesize topicId;
@synthesize replyerName;
@synthesize replyerRealName;
@synthesize replyerPosition;
@synthesize top;
@synthesize attachmentId;
@synthesize attachments;
@synthesize bestName;
@synthesize replyerPicture;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOCommissionHistEntity
@synthesize fid;
@synthesize createName;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize resellerCode;
@synthesize employeeId;
@synthesize orderId;
@synthesize amount;
@synthesize afteramount;
@synthesize remark;
@synthesize orderNumber;
@synthesize employeeName;
@synthesize state;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TOApplyBillEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize billNumber;
@synthesize guideId;
@synthesize guideName;
@synthesize applyMoney;
@synthesize beforeMoney;
@synthesize afterMoney;
@synthesize billStates;
@synthesize billType;
@synthesize bankCardNumber;
@synthesize bankName;
@synthesize bankCode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation RsShareResponse
@synthesize shareId;
@synthesize url;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsStudyTask
@synthesize categoryName;
@synthesize studyTasks;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation DeleteCartRequest
@synthesize cartIds;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsScoreDetails
@synthesize currentScore;
@synthesize quarterlyRanking;
@synthesize annualRanking;
@synthesize recoreds;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsActionResult
@synthesize actions;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsPrizeBill
@synthesize bill;
@synthesize details;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OrderFilter
@synthesize resellerCodeEquals;
@synthesize orderStateEquals;
@synthesize consumerNameOrMobileEquals;
@synthesize consumerIdEquals;
@synthesize dp;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@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] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation HotFilter
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation GoodsCategory
@synthesize fid;
@synthesize name;
@synthesize children;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation RsEmployeeRequest
@synthesize employee;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ModifyPasswordRequest
@synthesize employeeId;
@synthesize oldPassword;
@synthesize fnewPassword;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fnewPassword": @"newPassword",
                                                       }];
}


@end

@implementation LoginInfo
@synthesize username;
@synthesize password;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ConsumerQueryCondition
@synthesize resellerCodeEquals;
@synthesize nameEquals;
@synthesize mobileEquals;
@synthesize createTimeBegin;
@synthesize createTimeEnd;
@synthesize page;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ExceptionCode
@synthesize code;
@synthesize message;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation EarningsResponse
@synthesize accountTotal;
@synthesize yesterdayEarnings;
@synthesize historyEarning;
@synthesize applytotal;
@synthesize redPackageAccountTotal;
@synthesize redPackageYesterdayEarnings;
@synthesize redPackageHistoryEarning;
@synthesize redPackageApplytotal;
@synthesize isUsable;
@synthesize bankCards;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation AfficheCondition
@synthesize page;
@synthesize dayCountEquals;
@synthesize afficheTypeEuals;
@synthesize order;
@synthesize sort;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation PrizeResponse
@synthesize prizes;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation ApplyHist
@synthesize type;
@synthesize createDate;
@synthesize amount;
@synthesize billNumber;
@synthesize remainAmount;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsCommissionResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation NoticeCondition
@synthesize page;
@synthesize employeeId;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation TONoticeEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize state;
@synthesize message;
@synthesize module;
@synthesize view;
@synthesize billId;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation NoticeResponse
@synthesize noticeEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation TSBaseUser
@synthesize departid;
@synthesize signature;
@synthesize browser;
@synthesize userKey;
@synthesize status;
@synthesize activitiSync;
@synthesize password;
@synthesize userName;
@synthesize realName;
@synthesize currentDepart;
@synthesize userOrgList;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end




@implementation ForumTypeResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOForumtypeEntity
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize name;
@synthesize attachmentId;
@synthesize attachment;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fid": @"id",
                                                       }];
}


@end

@implementation TSDepart
@synthesize TSPDepart;
@synthesize departname;
@synthesize fdescription;
@synthesize TSDeparts;
@synthesize orgCode;
@synthesize orgType;
@synthesize mobile;
@synthesize fax;
@synthesize address;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithModelToJSONDictionary:@{
                                                       @"fdescription": @"description",@"fid": @"id"
                                                       }];
}




@end

@implementation GoodsResponse
@synthesize goodsEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TSUserOrg
@synthesize tsUser;
@synthesize tsDepart;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsSimpleJingDongECardResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsAwardDraw
@synthesize draw;
@synthesize award;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation OrderResponse
@synthesize orderBillList;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ShopCartResponse
@synthesize shopcart;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation StudyTaskResponse
@synthesize studyEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOBankBindEntity
@synthesize bankAccount;
@synthesize accountName;
@synthesize identityCode;
@synthesize phoneNumber;
@synthesize smsCode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation SceneResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end
@implementation TOCommAuthEntity
@synthesize bankAccount;
@synthesize accountName;
@synthesize identityCode;
@synthesize phoneNumber;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end


@implementation PassLevelResponse
@synthesize passLevelEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsLotteryResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsJingDongECardResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ForumTopicResponse
@synthesize forumTopicEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation ConsumerPageResult
@synthesize results;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation RsApplyBillResponse
@synthesize list;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation AfficheResponse
@synthesize afficheEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TSUser
@synthesize signatureFile;
@synthesize mobilePhone;
@synthesize officePhone;
@synthesize email;
@synthesize createDate;
@synthesize createBy;
@synthesize createName;
@synthesize updateDate;
@synthesize updateBy;
@synthesize updateName;
@synthesize position;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

@implementation TOEmployee
@synthesize positions;
@synthesize picture;
@synthesize positionsName;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
}


@end

