opple_objc_json_client.m 26.2 KB
Newer Older
1 2 3

#import "opple_objc_json_client.h"

曹云霄's avatar
曹云霄 committed
4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42
@implementation RsApplyBillRequest
@synthesize employeeId;
@synthesize page;

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


@end

@implementation RsCommissionRequest
@synthesize emploreeId;
@synthesize page;

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


@end

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

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


@end

43 44 45 46
@implementation PageRows
@synthesize page;
@synthesize rows;
@synthesize total;
47
@synthesize totalpages;
曹云霄's avatar
曹云霄 committed
48 49 50

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
51
    return YES;
曹云霄's avatar
曹云霄 committed
52 53 54
}


55 56 57 58 59 60
@end

@implementation RsResponse
@synthesize code;
@synthesize message;
@synthesize data;
曹云霄's avatar
曹云霄 committed
61 62 63

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
64
    return YES;
曹云霄's avatar
曹云霄 committed
65 66 67
}


68 69 70 71 72
@end

@implementation LoginInfo
@synthesize username;
@synthesize password;
曹云霄's avatar
曹云霄 committed
73 74 75

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
76
    return YES;
曹云霄's avatar
曹云霄 committed
77 78 79
}


80 81 82 83 84
@end

@implementation ModifyPasswordRequest
@synthesize employeeId;
@synthesize oldPassword;
曹云霄's avatar
曹云霄 committed
85 86 87 88
@synthesize fnewPassword;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
89
    return YES;
曹云霄's avatar
曹云霄 committed
90 91 92 93 94
}


+(JSONKeyMapper*)keyMapper
{
95
    return [[JSONKeyMapper alloc] initWithDictionary:@{
96 97
                                                       @"newPassword": @"fnewPassword",
                                                       }];
曹云霄's avatar
曹云霄 committed
98 99 100
}


101 102
@end

勾芒's avatar
勾芒 committed
103 104
@implementation RsEmployeeRequest
@synthesize employee;
曹云霄's avatar
曹云霄 committed
105 106 107

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
108
    return YES;
109
}
曹云霄's avatar
曹云霄 committed
110 111


112 113
@end

勾芒's avatar
勾芒 committed
114 115 116 117
@implementation GoodsCategory
@synthesize fid;
@synthesize name;
@synthesize children;
118 119

+(BOOL)propertyIsOptional:(NSString*)propertyName
曹云霄's avatar
曹云霄 committed
120
{
121
    return YES;
曹云霄's avatar
曹云霄 committed
122 123 124
}


勾芒's avatar
勾芒 committed
125 126
+(JSONKeyMapper*)keyMapper
{
127
    return [[JSONKeyMapper alloc] initWithDictionary:@{
勾芒's avatar
勾芒 committed
128 129 130 131 132
                                                       @"id": @"fid",
                                                       }];
}


133 134 135 136 137 138 139 140
@end

@implementation GoodsFilter
@synthesize styles;
@synthesize categories;
@synthesize space;
@synthesize material;
@synthesize price;
曹云霄's avatar
曹云霄 committed
141 142 143

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
144
    return YES;
145
}
曹云霄's avatar
曹云霄 committed
146 147


148 149
@end

勾芒's avatar
勾芒 committed
150 151
@implementation HotFilter
@synthesize list;
曹云霄's avatar
曹云霄 committed
152 153 154

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
155
    return YES;
156
}
曹云霄's avatar
曹云霄 committed
157 158


159 160
@end

161 162 163 164 165 166 167 168 169 170 171
@implementation RsJingDongECardRequest
@synthesize guideIdEquals;
@synthesize stateEquals;
@synthesize page;

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


曹云霄's avatar
曹云霄 committed
172 173 174 175 176 177 178 179 180 181 182 183 184
@end

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

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


185 186
@end

187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246
@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

@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 OrderFilter
@synthesize resellerCodeEquals;
@synthesize orderStateEquals;
@synthesize consumerNameOrMobileEquals;
@synthesize consumerIdEquals;
@synthesize dp;
247 248 249 250 251 252 253

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


254 255
@end

勾芒's avatar
勾芒 committed
256 257 258 259 260 261 262 263
@implementation OrderPayRequest
@synthesize orderNumber;
@synthesize oldstate;
@synthesize fnewstate;
@synthesize payType;
@synthesize isbill;
@synthesize billType;
@synthesize billTitle;
264
@synthesize realAmount;
265
@synthesize lotteryId;
266
@synthesize drawId;
267
@synthesize promotionGoods;
268
@synthesize jdCardDenomation;
曹云霄's avatar
曹云霄 committed
269
@synthesize promotionMoney;
270 271
@synthesize wxcardNumber;
@synthesize wxcardDenomation;
272 273 274 275 276
@synthesize deductionPrority;
@synthesize goodsPrority;
@synthesize JDEcardsPrority;
@synthesize drawPrority;
@synthesize lotteryPrority;
曹云霄's avatar
曹云霄 committed
277 278 279

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
280 281 282 283
    return YES;
}


勾芒's avatar
勾芒 committed
284 285
+(JSONKeyMapper*)keyMapper
{
286
    return [[JSONKeyMapper alloc] initWithDictionary:@{
勾芒's avatar
勾芒 committed
287 288 289 290 291
                                                       @"newstate": @"fnewstate",
                                                       }];
}


292 293
@end

294 295 296 297 298 299 300 301 302 303 304 305 306 307 308
@implementation PrizeCondition
@synthesize codeLike;
@synthesize nameLike;
@synthesize page;

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


@end

@implementation RsActionResult
@synthesize actions;
309 310 311 312 313 314 315

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


316 317
@end

318 319 320
@implementation SceneFilter
@synthesize styles;
@synthesize space;
321 322 323 324

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
325 326 327
}


328 329
@end

330 331
@implementation RsShippingAddrEntity
@synthesize list;
勾芒's avatar
勾芒 committed
332 333 334 335 336 337 338 339 340

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


@end

341
@implementation SaveShoppingCartRequest
342
@synthesize consumerId;
343 344
@synthesize goodsId;
@synthesize count;
勾芒's avatar
勾芒 committed
345 346 347 348 349 350 351 352 353

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


@end

354 355 356
@implementation ShopCartFilter
@synthesize consumerId;
@synthesize dp;
勾芒's avatar
勾芒 committed
357 358 359 360 361 362 363

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


曹云霄's avatar
曹云霄 committed
364 365
@end

366
@implementation TOApplyBillEntity
曹云霄's avatar
曹云霄 committed
367 368
@synthesize fid;
@synthesize createName;
369
@synthesize createBy;
曹云霄's avatar
曹云霄 committed
370
@synthesize createDate;
371 372 373 374 375 376 377 378 379 380 381
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize billNumber;
@synthesize guideId;
@synthesize guideName;
@synthesize applyMoney;
@synthesize beforeMoney;
@synthesize afterMoney;
@synthesize billStates;
曹云霄's avatar
曹云霄 committed
382 383 384 385 386 387 388 389 390

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


+(JSONKeyMapper*)keyMapper
{
391
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
392 393 394 395 396
                                                       @"id": @"fid",
                                                       }];
}


勾芒's avatar
勾芒 committed
397 398
@end

曹云霄's avatar
曹云霄 committed
399
@implementation TOConsumerEntity
400 401 402 403 404
@synthesize fid;
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
曹云霄's avatar
曹云霄 committed
405 406 407 408 409 410 411 412 413
@synthesize name;
@synthesize mobile;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
@synthesize picture;
@synthesize lastVisitedTime;
@synthesize company;
414 415 416 417 418 419 420

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


421 422
+(JSONKeyMapper*)keyMapper
{
423
    return [[JSONKeyMapper alloc] initWithDictionary:@{
424 425 426 427 428
                                                       @"id": @"fid",
                                                       }];
}


429 430
@end

曹云霄's avatar
曹云霄 committed
431
@implementation TOGoodsForResellerEntity
曹云霄's avatar
曹云霄 committed
432
@synthesize fid;
433
@synthesize resellerId;
曹云霄's avatar
曹云霄 committed
434 435
@synthesize goods;
@synthesize path;
曹云霄's avatar
曹云霄 committed
436 437 438

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
439 440 441 442 443 444
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
445
    return [[JSONKeyMapper alloc] initWithDictionary:@{
446 447 448 449 450 451 452
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
453
@implementation TOGoodsBrandEntity
454
@synthesize fid;
曹云霄's avatar
曹云霄 committed
455 456 457 458 459
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
460 461
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
462 463 464
@synthesize state;
@synthesize logo;
@synthesize fdescription;
465 466 467 468 469 470 471 472 473

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


+(JSONKeyMapper*)keyMapper
{
474
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
475
                                                       @"description": @"fdescription",
476 477 478 479 480 481 482
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
483 484
@implementation TOGoodsLabelEntity
@synthesize category;
485 486 487 488
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name;
曹云霄's avatar
曹云霄 committed
489
@synthesize categoryId;
490 491 492 493

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
494 495 496 497 498
}


+(JSONKeyMapper*)keyMapper
{
499
    return [[JSONKeyMapper alloc] initWithDictionary:@{
500 501
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
502 503 504
}


505 506
@end

507
@implementation TOJingdongEcardEntity
曹云霄's avatar
曹云霄 committed
508
@synthesize fid;
曹云霄's avatar
曹云霄 committed
509 510 511 512 513 514 515
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
516 517 518 519
@synthesize cardNumber;
@synthesize cardPassword;
@synthesize denomation;
@synthesize state;
曹云霄's avatar
曹云霄 committed
520
@synthesize guideId;
521 522
@synthesize orderNumber;
@synthesize orderReceiptUrl;
曹云霄's avatar
曹云霄 committed
523 524 525

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
526
    return YES;
曹云霄's avatar
曹云霄 committed
527 528 529 530 531
}


+(JSONKeyMapper*)keyMapper
{
532
    return [[JSONKeyMapper alloc] initWithDictionary:@{
533 534
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
535 536 537
}


曹云霄's avatar
曹云霄 committed
538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570
@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] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


571 572
@end

573 574
@implementation TOOrderdetailEntity
@synthesize brandName;
曹云霄's avatar
曹云霄 committed
575
@synthesize fid;
576 577 578 579 580 581 582 583 584 585 586 587
@synthesize goodsId;
@synthesize goodsCode;
@synthesize goodsName;
@synthesize goodsCover;
@synthesize goodsSpec;
@synthesize goodsBrand;
@synthesize goodsNum;
@synthesize goodsPrice;
@synthesize goodsTotalPrice;
@synthesize orderId;
@synthesize goodsUnit;
@synthesize remark;
曹云霄's avatar
曹云霄 committed
588 589 590 591 592 593 594 595 596

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


+(JSONKeyMapper*)keyMapper
{
597
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
598 599 600 601 602
                                                       @"id": @"fid",
                                                       }];
}


603 604
@end

曹云霄's avatar
曹云霄 committed
605
@implementation TOPositionEntity
606 607 608
@synthesize fid;
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
609 610 611
@synthesize commission;
@synthesize lowestDiscount;
@synthesize resellerCode;
612 613 614 615 616 617 618 619 620 621 622 623 624 625 626

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


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


曹云霄's avatar
曹云霄 committed
627 628
@end

曹云霄's avatar
曹云霄 committed
629
@implementation TOPrizeBillDetailsEntity
曹云霄's avatar
曹云霄 committed
630
@synthesize fid;
曹云霄's avatar
曹云霄 committed
631 632
@synthesize bill;
@synthesize prize;
曹云霄's avatar
曹云霄 committed
633 634 635

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
636
    return YES;
曹云霄's avatar
曹云霄 committed
637 638 639 640 641
}


+(JSONKeyMapper*)keyMapper
{
642
    return [[JSONKeyMapper alloc] initWithDictionary:@{
643 644 645 646 647 648 649
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
650
@implementation TOShippingAddrEntity
651
@synthesize fid;
652
@synthesize createDate;
曹云霄's avatar
曹云霄 committed
653 654 655 656 657 658 659
@synthesize sysOrgCode;
@synthesize name;
@synthesize miblephone;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
660
@synthesize consumerId;
661 662 663 664 665 666 667 668 669

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


+(JSONKeyMapper*)keyMapper
{
670
    return [[JSONKeyMapper alloc] initWithDictionary:@{
671 672
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
673 674 675
}


曹云霄's avatar
曹云霄 committed
676 677 678 679 680 681 682 683 684 685 686 687 688
@end

@implementation UCN
@synthesize uuid;
@synthesize code;
@synthesize name;

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


689 690
@end

691
@implementation Action
692 693 694 695 696 697 698

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


699 700
@end

曹云霄's avatar
曹云霄 committed
701 702 703 704
NSString * const SORTDIRECTION_ASC = @"asc";
NSString * const SORTDIRECTION_DESC = @"desc";


705
@implementation IdEntity
曹云霄's avatar
曹云霄 committed
706 707 708 709
@synthesize fid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
710
    return YES;
曹云霄's avatar
曹云霄 committed
711 712 713 714 715
}


+(JSONKeyMapper*)keyMapper
{
716
    return [[JSONKeyMapper alloc] initWithDictionary:@{
717 718
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
719 720 721
}


722 723
@end

曹云霄's avatar
曹云霄 committed
724 725 726 727 728 729 730 731 732 733 734 735 736 737
@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;
738 739 740 741 742 743 744

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


曹云霄's avatar
曹云霄 committed
745 746 747 748 749 750 751 752
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


753 754
@end

曹云霄's avatar
曹云霄 committed
755
@implementation TOSceneEntity
756
@synthesize fid;
曹云霄's avatar
曹云霄 committed
757
@synthesize sceneCode;
758
@synthesize name;
曹云霄's avatar
曹云霄 committed
759 760 761 762
@synthesize pricure;
@synthesize category;
@synthesize style;
@synthesize space;
763 764 765 766 767 768 769 770 771

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


+(JSONKeyMapper*)keyMapper
{
772
    return [[JSONKeyMapper alloc] initWithDictionary:@{
773 774 775 776 777
                                                       @"id": @"fid",
                                                       }];
}


778 779
@end

曹云霄's avatar
曹云霄 committed
780
@implementation TOPrizeEntity
781
@synthesize fid;
曹云霄's avatar
曹云霄 committed
782 783 784 785 786 787 788 789 790
@synthesize picture;
@synthesize createName;
@synthesize createBy;
@synthesize updateName;
@synthesize updateBy;
@synthesize code;
@synthesize name;
@synthesize createDate;
@synthesize updateDate;
791 792 793 794 795 796 797 798 799 800 801 802 803 804 805

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


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


806 807
@end

曹云霄's avatar
曹云霄 committed
808
@implementation TOOrderPromotionEntity
曹云霄's avatar
曹云霄 committed
809
@synthesize fid;
曹云霄's avatar
曹云霄 committed
810 811 812 813 814 815 816 817 818 819 820 821 822 823 824 825 826 827
@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;
828
@synthesize jdecardDenomation;
829
@synthesize redPackageCount;
830
@synthesize prority;
831 832 833 834 835 836 837 838 839 840 841 842 843 844 845 846 847 848 849 850 851 852 853 854 855 856 857 858 859 860 861

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


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


@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;
曹云霄's avatar
曹云霄 committed
862
@synthesize goodsNum;
863 864 865 866 867 868 869 870 871 872 873 874
@synthesize orderPrice;
@synthesize receiverName;
@synthesize receiverMobile;
@synthesize receiverAddress;
@synthesize isBill;
@synthesize billType;
@synthesize billTitle;
@synthesize payType;
@synthesize consumerName;
@synthesize guideName;
@synthesize resellerName;
@synthesize oldPrice;
曹云霄's avatar
曹云霄 committed
875

876

曹云霄's avatar
曹云霄 committed
877 878
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
879
    return YES;
曹云霄's avatar
曹云霄 committed
880 881 882 883 884
}


+(JSONKeyMapper*)keyMapper
{
885
    return [[JSONKeyMapper alloc] initWithDictionary:@{
886 887
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
888 889 890
}


曹云霄's avatar
曹云霄 committed
891 892 893 894 895 896 897 898 899 900 901 902 903 904 905 906 907 908 909 910 911 912 913 914 915 916 917 918 919 920 921 922 923
@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] initWithDictionary:@{
                                                       @"description": @"fdescription",
                                                       @"id": @"fid",
                                                       }];
}


924 925
@end

曹云霄's avatar
曹云霄 committed
926
@implementation TOGoodsLabelCategoryEntity
曹云霄's avatar
曹云霄 committed
927
@synthesize fid;
928
@synthesize sysOrgCode;
曹云霄's avatar
曹云霄 committed
929 930 931
@synthesize sysCompanyCode;
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
932 933 934

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
935
    return YES;
曹云霄's avatar
曹云霄 committed
936 937 938 939 940
}


+(JSONKeyMapper*)keyMapper
{
941
    return [[JSONKeyMapper alloc] initWithDictionary:@{
942 943 944 945 946 947 948
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
949 950
@implementation TOGoodsCategoryEntity
@synthesize upperName;
曹云霄's avatar
曹云霄 committed
951
@synthesize fid;
曹云霄's avatar
曹云霄 committed
952
@synthesize code;
勾芒's avatar
勾芒 committed
953
@synthesize name;
曹云霄's avatar
曹云霄 committed
954 955
@synthesize upperId;
@synthesize level;
曹云霄's avatar
曹云霄 committed
956 957 958

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
959
    return YES;
曹云霄's avatar
曹云霄 committed
960 961 962 963 964
}


+(JSONKeyMapper*)keyMapper
{
965
    return [[JSONKeyMapper alloc] initWithDictionary:@{
966 967 968 969 970 971 972
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
973
@implementation VOResellerGoodsEntity
974
@synthesize fid;
975
@synthesize createDate;
曹云霄's avatar
曹云霄 committed
976 977
@synthesize onlineTime;
@synthesize company;
978
@synthesize code;
979
@synthesize name;
曹云霄's avatar
曹云霄 committed
980 981 982 983 984 985 986
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
987
@synthesize state;
曹云霄's avatar
曹云霄 committed
988 989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010
@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;
1011 1012 1013 1014 1015 1016 1017 1018 1019

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


+(JSONKeyMapper*)keyMapper
{
1020
    return [[JSONKeyMapper alloc] initWithDictionary:@{
1021 1022 1023 1024 1025 1026 1027
                                                       @"id": @"fid",
                                                       }];
}


@end

1028 1029 1030 1031 1032 1033
@implementation TOGoodsEntity
@synthesize resellerInv;
@synthesize resellerTagPrice;
@synthesize resellerState;
@synthesize categoryName;
@synthesize brandName;
1034
@synthesize fid;
勾芒's avatar
勾芒 committed
1035
@synthesize createDate;
1036 1037
@synthesize onlineTime;
@synthesize company;
1038 1039
@synthesize code;
@synthesize name;
1040 1041 1042 1043 1044 1045 1046
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
勾芒's avatar
勾芒 committed
1047
@synthesize state;
1048 1049 1050 1051 1052 1053 1054 1055 1056 1057 1058 1059 1060 1061 1062 1063 1064 1065 1066 1067
@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;
曹云霄's avatar
曹云霄 committed
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077
@synthesize goodsResellerList;

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


+(JSONKeyMapper*)keyMapper
{
1078
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
1079 1080 1081 1082 1083 1084 1085
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
1086
@implementation TOCommissionHistEntity
1087 1088 1089 1090 1091 1092
@synthesize fid;
@synthesize createName;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
曹云霄's avatar
曹云霄 committed
1093 1094 1095 1096 1097 1098 1099 1100 1101
@synthesize resellerCode;
@synthesize employeeId;
@synthesize orderId;
@synthesize amount;
@synthesize afteramount;
@synthesize remark;
@synthesize orderNumber;
@synthesize employeeName;
@synthesize state;
曹云霄's avatar
曹云霄 committed
1102 1103 1104

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1105
    return YES;
曹云霄's avatar
曹云霄 committed
1106 1107 1108
}


1109 1110 1111 1112 1113 1114 1115 1116
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


勾芒's avatar
勾芒 committed
1117 1118
@end

1119 1120 1121
@implementation RsShareResponse
@synthesize shareId;
@synthesize url;
勾芒's avatar
勾芒 committed
1122 1123 1124 1125 1126 1127 1128 1129 1130

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


@end

1131 1132
@implementation DeleteCartRequest
@synthesize cartIds;
勾芒's avatar
勾芒 committed
1133 1134 1135 1136 1137 1138 1139

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


1140 1141
@end

1142 1143 1144 1145
@implementation SceneCondition
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize page;
1146 1147 1148 1149 1150 1151 1152 1153 1154

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


@end

1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178 1179 1180 1181 1182 1183 1184
@implementation RsPrizeBill
@synthesize bill;
@synthesize details;

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


@end

@implementation PromotionGoods
@synthesize goods;
@synthesize promotionNumber;

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


@end

@implementation OrderBill
@synthesize datapage;
@synthesize order;
@synthesize orderdetailList;
@synthesize consumer;
@synthesize employee;
1185 1186 1187 1188 1189 1190 1191 1192 1193 1194 1195 1196 1197

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


@end

@implementation GroupByOrderNumber
@synthesize orderNumber;
@synthesize orderTime;
@synthesize orderReceiptUrl;
1198
@synthesize eCards;
曹云霄's avatar
曹云霄 committed
1199 1200 1201

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1202 1203 1204 1205 1206 1207
    return YES;
}


@end

勾芒's avatar
勾芒 committed
1208 1209 1210 1211 1212 1213 1214 1215 1216
@implementation GoodsCondition
@synthesize nameLike;
@synthesize categoryEquals;
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize materialEqueals;
@synthesize startprice;
@synthesize endprice;
@synthesize page;
1217 1218 1219 1220 1221 1222 1223

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


勾芒's avatar
勾芒 committed
1224 1225 1226
@end

@implementation DataDict
1227
@synthesize typeName;
勾芒's avatar
勾芒 committed
1228 1229 1230
@synthesize typecode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
1231
{
勾芒's avatar
勾芒 committed
1232
    return YES;
曹云霄's avatar
曹云霄 committed
1233 1234 1235
}


1236 1237 1238 1239
@end

@implementation ResetPasswordRequest
@synthesize username;
1240
@synthesize smsCode;
曹云霄's avatar
曹云霄 committed
1241 1242 1243 1244
@synthesize fnewPassword;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1245
    return YES;
曹云霄's avatar
曹云霄 committed
1246 1247 1248 1249 1250
}


+(JSONKeyMapper*)keyMapper
{
1251
    return [[JSONKeyMapper alloc] initWithDictionary:@{
1252 1253
                                                       @"newPassword": @"fnewPassword",
                                                       }];
曹云霄's avatar
曹云霄 committed
1254 1255 1256
}


1257 1258 1259 1260
@end

@implementation LoginResult
@synthesize employee;
1261 1262 1263
@synthesize commissionRate;
@synthesize commissionTotal;
@synthesize lowestDiscount;
曹云霄's avatar
曹云霄 committed
1264 1265 1266

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1267
    return YES;
曹云霄's avatar
曹云霄 committed
1268 1269 1270
}


1271 1272 1273
@end

@implementation ConsumerQueryCondition
勾芒's avatar
勾芒 committed
1274
@synthesize resellerCodeEquals;
1275 1276
@synthesize nameEquals;
@synthesize mobileEquals;
勾芒's avatar
勾芒 committed
1277 1278
@synthesize createTimeBegin;
@synthesize createTimeEnd;
1279
@synthesize page;
曹云霄's avatar
曹云霄 committed
1280 1281 1282

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1283
    return YES;
曹云霄's avatar
曹云霄 committed
1284 1285 1286
}


1287 1288 1289 1290 1291
@end

@implementation ExceptionCode
@synthesize code;
@synthesize message;
曹云霄's avatar
曹云霄 committed
1292 1293 1294

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1295
    return YES;
曹云霄's avatar
曹云霄 committed
1296 1297 1298
}


1299 1300
@end

曹云霄's avatar
曹云霄 committed
1301
@implementation EarningsResponse
曹云霄's avatar
曹云霄 committed
1302 1303 1304
@synthesize accountTotal;
@synthesize yesterdayEarnings;
@synthesize historyEarning;
曹云霄's avatar
曹云霄 committed
1305
@synthesize applytotal;
曹云霄's avatar
曹云霄 committed
1306 1307 1308

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1309
    return YES;
曹云霄's avatar
曹云霄 committed
1310 1311 1312
}


1313 1314
@end

曹云霄's avatar
曹云霄 committed
1315 1316 1317 1318 1319 1320 1321 1322 1323 1324 1325
@implementation ApplyRequest
@synthesize amount;

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


@end

1326 1327 1328 1329 1330 1331 1332 1333 1334
@implementation RsJingDongECardResponse
@synthesize list;

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


曹云霄's avatar
曹云霄 committed
1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 1345
@end

@implementation RsSimpleJingDongECardResponse
@synthesize list;

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


1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360 1361 1362 1363 1364 1365 1366
@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;
}


1367 1368 1369 1370 1371
@end

@implementation TSDepart
@synthesize TSPDepart;
@synthesize departname;
曹云霄's avatar
曹云霄 committed
1372
@synthesize fdescription;
1373 1374 1375 1376 1377 1378
@synthesize TSDeparts;
@synthesize orgCode;
@synthesize orgType;
@synthesize mobile;
@synthesize fax;
@synthesize address;
曹云霄's avatar
曹云霄 committed
1379 1380 1381

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1382
    return YES;
曹云霄's avatar
曹云霄 committed
1383 1384 1385 1386 1387
}


+(JSONKeyMapper*)keyMapper
{
1388
    return [[JSONKeyMapper alloc] initWithDictionary:@{
1389 1390 1391 1392 1393
                                                       @"description": @"fdescription",
                                                       }];
}


1394 1395
@end

曹云霄's avatar
曹云霄 committed
1396 1397 1398
@implementation TSUserOrg
@synthesize tsUser;
@synthesize tsDepart;
1399 1400 1401 1402 1403 1404 1405

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


曹云霄's avatar
曹云霄 committed
1406 1407
@end

曹云霄's avatar
曹云霄 committed
1408 1409
@implementation RsLotteryResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
1410 1411 1412 1413 1414 1415 1416

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


勾芒's avatar
勾芒 committed
1417 1418
@end

1419 1420
@implementation ShopCartResponse
@synthesize shopcart;
勾芒's avatar
勾芒 committed
1421 1422 1423 1424 1425 1426 1427

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


1428 1429
@end

1430 1431
@implementation SceneResponse
@synthesize list;
1432 1433 1434 1435 1436 1437 1438 1439 1440

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


@end

1441 1442
@implementation OrderResponse
@synthesize orderBillList;
1443 1444 1445 1446

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
1447
}
曹云霄's avatar
曹云霄 committed
1448 1449


1450 1451 1452 1453 1454 1455 1456 1457 1458 1459 1460 1461
@end

@implementation RsAwardDraw
@synthesize draw;
@synthesize award;

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


1462 1463
@end

曹云霄's avatar
曹云霄 committed
1464 1465
@implementation GoodsResponse
@synthesize goodsEntity;
曹云霄's avatar
曹云霄 committed
1466 1467 1468

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1469
    return YES;
1470
}
曹云霄's avatar
曹云霄 committed
1471 1472


1473 1474
@end

曹云霄's avatar
曹云霄 committed
1475 1476
@implementation ConsumerPageResult
@synthesize results;
曹云霄's avatar
曹云霄 committed
1477 1478 1479

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1480
    return YES;
1481
}
曹云霄's avatar
曹云霄 committed
1482 1483


1484 1485
@end

曹云霄's avatar
曹云霄 committed
1486 1487 1488 1489 1490 1491 1492 1493 1494 1495 1496 1497 1498
@implementation RsCommissionResponse
@synthesize list;

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


@end

@implementation RsApplyBillResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
1499 1500 1501

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1502
    return YES;
1503
}
曹云霄's avatar
曹云霄 committed
1504 1505


1506 1507 1508 1509 1510 1511 1512 1513 1514 1515 1516 1517 1518
@end

@implementation TSUser
@synthesize signatureFile;
@synthesize mobilePhone;
@synthesize officePhone;
@synthesize email;
@synthesize createDate;
@synthesize createBy;
@synthesize createName;
@synthesize updateDate;
@synthesize updateBy;
@synthesize updateName;
勾芒's avatar
勾芒 committed
1519
@synthesize position;
曹云霄's avatar
曹云霄 committed
1520 1521 1522

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1523
    return YES;
曹云霄's avatar
曹云霄 committed
1524 1525 1526
}


1527 1528 1529 1530
@end

@implementation TOEmployee
@synthesize positions;
勾芒's avatar
勾芒 committed
1531
@synthesize picture;
1532
@synthesize positionsName;
曹云霄's avatar
曹云霄 committed
1533 1534 1535

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1536
    return YES;
曹云霄's avatar
曹云霄 committed
1537 1538 1539
}


1540 1541
@end