opple_objc_json_client.m 26 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;
曹云霄's avatar
曹云霄 committed
272 273 274

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
275 276 277 278
    return YES;
}


勾芒's avatar
勾芒 committed
279 280
+(JSONKeyMapper*)keyMapper
{
281
    return [[JSONKeyMapper alloc] initWithDictionary:@{
勾芒's avatar
勾芒 committed
282 283 284 285 286
                                                       @"newstate": @"fnewstate",
                                                       }];
}


287 288
@end

289 290 291 292 293 294 295 296 297 298 299 300 301 302 303
@implementation PrizeCondition
@synthesize codeLike;
@synthesize nameLike;
@synthesize page;

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


@end

@implementation RsActionResult
@synthesize actions;
304 305 306 307 308 309 310

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


311 312
@end

313 314 315
@implementation SceneFilter
@synthesize styles;
@synthesize space;
316 317 318 319

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
320 321 322
}


323 324
@end

325 326
@implementation RsShippingAddrEntity
@synthesize list;
勾芒's avatar
勾芒 committed
327 328 329 330 331 332 333 334 335

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


@end

336
@implementation SaveShoppingCartRequest
337
@synthesize consumerId;
338 339
@synthesize goodsId;
@synthesize count;
勾芒's avatar
勾芒 committed
340 341 342 343 344 345 346 347 348

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


@end

349 350 351
@implementation ShopCartFilter
@synthesize consumerId;
@synthesize dp;
勾芒's avatar
勾芒 committed
352 353 354 355 356 357 358

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


曹云霄's avatar
曹云霄 committed
359 360
@end

361
@implementation TOApplyBillEntity
曹云霄's avatar
曹云霄 committed
362 363
@synthesize fid;
@synthesize createName;
364
@synthesize createBy;
曹云霄's avatar
曹云霄 committed
365
@synthesize createDate;
366 367 368 369 370 371 372 373 374 375 376
@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
377 378 379 380 381 382 383 384 385

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


+(JSONKeyMapper*)keyMapper
{
386
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
387 388 389 390 391
                                                       @"id": @"fid",
                                                       }];
}


勾芒's avatar
勾芒 committed
392 393
@end

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

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


416 417
+(JSONKeyMapper*)keyMapper
{
418
    return [[JSONKeyMapper alloc] initWithDictionary:@{
419 420 421 422 423
                                                       @"id": @"fid",
                                                       }];
}


424 425
@end

曹云霄's avatar
曹云霄 committed
426
@implementation TOGoodsForResellerEntity
曹云霄's avatar
曹云霄 committed
427
@synthesize fid;
428
@synthesize resellerId;
曹云霄's avatar
曹云霄 committed
429 430
@synthesize goods;
@synthesize path;
曹云霄's avatar
曹云霄 committed
431 432 433

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
434 435 436 437 438 439
    return YES;
}


+(JSONKeyMapper*)keyMapper
{
440
    return [[JSONKeyMapper alloc] initWithDictionary:@{
441 442 443 444 445 446 447
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
448
@implementation TOGoodsBrandEntity
449
@synthesize fid;
曹云霄's avatar
曹云霄 committed
450 451 452 453 454
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
455 456
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
457 458 459
@synthesize state;
@synthesize logo;
@synthesize fdescription;
460 461 462 463 464 465 466 467 468

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


+(JSONKeyMapper*)keyMapper
{
469
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
470
                                                       @"description": @"fdescription",
471 472 473 474 475 476 477
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
478 479
@implementation TOGoodsLabelEntity
@synthesize category;
480 481 482 483
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name;
曹云霄's avatar
曹云霄 committed
484
@synthesize categoryId;
485 486 487 488

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
489 490 491 492 493
}


+(JSONKeyMapper*)keyMapper
{
494
    return [[JSONKeyMapper alloc] initWithDictionary:@{
495 496
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
497 498 499
}


500 501
@end

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

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
521
    return YES;
曹云霄's avatar
曹云霄 committed
522 523 524 525 526
}


+(JSONKeyMapper*)keyMapper
{
527
    return [[JSONKeyMapper alloc] initWithDictionary:@{
528 529
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
530 531 532
}


曹云霄's avatar
曹云霄 committed
533 534 535 536 537 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
@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",
                                                       }];
}


566 567
@end

568 569
@implementation TOOrderdetailEntity
@synthesize brandName;
曹云霄's avatar
曹云霄 committed
570
@synthesize fid;
571 572 573 574 575 576 577 578 579 580 581 582
@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
583 584 585 586 587 588 589 590 591

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


+(JSONKeyMapper*)keyMapper
{
592
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
593 594 595 596 597
                                                       @"id": @"fid",
                                                       }];
}


598 599
@end

曹云霄's avatar
曹云霄 committed
600
@implementation TOPositionEntity
601 602 603
@synthesize fid;
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
604 605 606
@synthesize commission;
@synthesize lowestDiscount;
@synthesize resellerCode;
607 608 609 610 611 612 613 614 615 616 617 618 619 620 621

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


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


曹云霄's avatar
曹云霄 committed
622 623
@end

曹云霄's avatar
曹云霄 committed
624
@implementation TOPrizeBillDetailsEntity
曹云霄's avatar
曹云霄 committed
625
@synthesize fid;
曹云霄's avatar
曹云霄 committed
626 627
@synthesize bill;
@synthesize prize;
曹云霄's avatar
曹云霄 committed
628 629 630

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
631
    return YES;
曹云霄's avatar
曹云霄 committed
632 633 634 635 636
}


+(JSONKeyMapper*)keyMapper
{
637
    return [[JSONKeyMapper alloc] initWithDictionary:@{
638 639 640 641 642 643 644
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
645
@implementation TOShippingAddrEntity
646
@synthesize fid;
647
@synthesize createDate;
曹云霄's avatar
曹云霄 committed
648 649 650 651 652 653 654
@synthesize sysOrgCode;
@synthesize name;
@synthesize miblephone;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
655
@synthesize consumerId;
656 657 658 659 660 661 662 663 664

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


+(JSONKeyMapper*)keyMapper
{
665
    return [[JSONKeyMapper alloc] initWithDictionary:@{
666 667
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
668 669 670
}


曹云霄's avatar
曹云霄 committed
671 672 673 674 675 676 677 678 679 680 681 682 683
@end

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

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


684 685
@end

686
@implementation Action
687 688 689 690 691 692 693

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


694 695
@end

曹云霄's avatar
曹云霄 committed
696 697 698 699
NSString * const SORTDIRECTION_ASC = @"asc";
NSString * const SORTDIRECTION_DESC = @"desc";


700
@implementation IdEntity
曹云霄's avatar
曹云霄 committed
701 702 703 704
@synthesize fid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
705
    return YES;
曹云霄's avatar
曹云霄 committed
706 707 708 709 710
}


+(JSONKeyMapper*)keyMapper
{
711
    return [[JSONKeyMapper alloc] initWithDictionary:@{
712 713
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
714 715 716
}


717 718
@end

曹云霄's avatar
曹云霄 committed
719 720 721 722 723 724 725 726 727 728 729 730 731 732
@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;
733 734 735 736 737 738 739

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


曹云霄's avatar
曹云霄 committed
740 741 742 743 744 745 746 747
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


748 749
@end

曹云霄's avatar
曹云霄 committed
750
@implementation TOSceneEntity
751
@synthesize fid;
曹云霄's avatar
曹云霄 committed
752
@synthesize sceneCode;
753
@synthesize name;
曹云霄's avatar
曹云霄 committed
754 755 756 757
@synthesize pricure;
@synthesize category;
@synthesize style;
@synthesize space;
758 759 760 761 762 763 764 765 766

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


+(JSONKeyMapper*)keyMapper
{
767
    return [[JSONKeyMapper alloc] initWithDictionary:@{
768 769 770 771 772
                                                       @"id": @"fid",
                                                       }];
}


773 774
@end

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

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


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


801 802
@end

曹云霄's avatar
曹云霄 committed
803
@implementation TOOrderPromotionEntity
曹云霄's avatar
曹云霄 committed
804
@synthesize fid;
曹云霄's avatar
曹云霄 committed
805 806 807 808 809 810 811 812 813 814 815 816 817 818 819 820 821 822
@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;
823
@synthesize jdecardDenomation;
824
@synthesize redPackageCount;
825 826 827 828 829 830 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

+(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
856
@synthesize goodsNum;
857 858 859 860 861 862 863 864 865 866 867 868
@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
869

870

曹云霄's avatar
曹云霄 committed
871 872
+(BOOL)propertyIsOptional:(NSString*)propertyName
{
873
    return YES;
曹云霄's avatar
曹云霄 committed
874 875 876 877 878
}


+(JSONKeyMapper*)keyMapper
{
879
    return [[JSONKeyMapper alloc] initWithDictionary:@{
880 881
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
882 883 884
}


曹云霄's avatar
曹云霄 committed
885 886 887 888 889 890 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
@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",
                                                       }];
}


918 919
@end

曹云霄's avatar
曹云霄 committed
920
@implementation TOGoodsLabelCategoryEntity
曹云霄's avatar
曹云霄 committed
921
@synthesize fid;
922
@synthesize sysOrgCode;
曹云霄's avatar
曹云霄 committed
923 924 925
@synthesize sysCompanyCode;
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
926 927 928

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
929
    return YES;
曹云霄's avatar
曹云霄 committed
930 931 932 933 934
}


+(JSONKeyMapper*)keyMapper
{
935
    return [[JSONKeyMapper alloc] initWithDictionary:@{
936 937 938 939 940 941 942
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
943 944
@implementation TOGoodsCategoryEntity
@synthesize upperName;
曹云霄's avatar
曹云霄 committed
945
@synthesize fid;
曹云霄's avatar
曹云霄 committed
946
@synthesize code;
勾芒's avatar
勾芒 committed
947
@synthesize name;
曹云霄's avatar
曹云霄 committed
948 949
@synthesize upperId;
@synthesize level;
曹云霄's avatar
曹云霄 committed
950 951 952

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
953
    return YES;
曹云霄's avatar
曹云霄 committed
954 955 956 957 958
}


+(JSONKeyMapper*)keyMapper
{
959
    return [[JSONKeyMapper alloc] initWithDictionary:@{
960 961 962 963 964 965 966
                                                       @"id": @"fid",
                                                       }];
}


@end

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

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


+(JSONKeyMapper*)keyMapper
{
1014
    return [[JSONKeyMapper alloc] initWithDictionary:@{
1015 1016 1017 1018 1019 1020 1021
                                                       @"id": @"fid",
                                                       }];
}


@end

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

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


+(JSONKeyMapper*)keyMapper
{
1072
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
1073 1074 1075 1076 1077 1078 1079
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
1080
@implementation TOCommissionHistEntity
1081 1082 1083 1084 1085 1086
@synthesize fid;
@synthesize createName;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
曹云霄's avatar
曹云霄 committed
1087 1088 1089 1090 1091 1092 1093 1094 1095
@synthesize resellerCode;
@synthesize employeeId;
@synthesize orderId;
@synthesize amount;
@synthesize afteramount;
@synthesize remark;
@synthesize orderNumber;
@synthesize employeeName;
@synthesize state;
曹云霄's avatar
曹云霄 committed
1096 1097 1098

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1099
    return YES;
曹云霄's avatar
曹云霄 committed
1100 1101 1102
}


1103 1104 1105 1106 1107 1108 1109 1110
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


勾芒's avatar
勾芒 committed
1111 1112
@end

1113 1114 1115
@implementation RsShareResponse
@synthesize shareId;
@synthesize url;
勾芒's avatar
勾芒 committed
1116 1117 1118 1119 1120 1121 1122 1123 1124

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


@end

1125 1126
@implementation DeleteCartRequest
@synthesize cartIds;
勾芒's avatar
勾芒 committed
1127 1128 1129 1130 1131 1132 1133

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


1134 1135
@end

1136 1137 1138 1139
@implementation SceneCondition
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize page;
1140 1141 1142 1143 1144 1145 1146 1147 1148

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


@end

1149 1150 1151 1152 1153 1154 1155 1156 1157 1158 1159 1160 1161 1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 1174 1175 1176 1177 1178
@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;
1179 1180 1181 1182 1183 1184 1185 1186 1187 1188 1189 1190 1191

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


@end

@implementation GroupByOrderNumber
@synthesize orderNumber;
@synthesize orderTime;
@synthesize orderReceiptUrl;
1192
@synthesize eCards;
曹云霄's avatar
曹云霄 committed
1193 1194 1195

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1196 1197 1198 1199 1200 1201
    return YES;
}


@end

勾芒's avatar
勾芒 committed
1202 1203 1204 1205 1206 1207 1208 1209 1210
@implementation GoodsCondition
@synthesize nameLike;
@synthesize categoryEquals;
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize materialEqueals;
@synthesize startprice;
@synthesize endprice;
@synthesize page;
1211 1212 1213 1214 1215 1216 1217

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


勾芒's avatar
勾芒 committed
1218 1219 1220
@end

@implementation DataDict
1221
@synthesize typeName;
勾芒's avatar
勾芒 committed
1222 1223 1224
@synthesize typecode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
1225
{
勾芒's avatar
勾芒 committed
1226
    return YES;
曹云霄's avatar
曹云霄 committed
1227 1228 1229
}


1230 1231 1232 1233
@end

@implementation ResetPasswordRequest
@synthesize username;
1234
@synthesize smsCode;
曹云霄's avatar
曹云霄 committed
1235 1236 1237 1238
@synthesize fnewPassword;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1239
    return YES;
曹云霄's avatar
曹云霄 committed
1240 1241 1242 1243 1244
}


+(JSONKeyMapper*)keyMapper
{
1245
    return [[JSONKeyMapper alloc] initWithDictionary:@{
1246 1247
                                                       @"newPassword": @"fnewPassword",
                                                       }];
曹云霄's avatar
曹云霄 committed
1248 1249 1250
}


1251 1252 1253 1254
@end

@implementation LoginResult
@synthesize employee;
1255 1256 1257
@synthesize commissionRate;
@synthesize commissionTotal;
@synthesize lowestDiscount;
曹云霄's avatar
曹云霄 committed
1258 1259 1260

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1261
    return YES;
曹云霄's avatar
曹云霄 committed
1262 1263 1264
}


1265 1266 1267
@end

@implementation ConsumerQueryCondition
勾芒's avatar
勾芒 committed
1268
@synthesize resellerCodeEquals;
1269 1270
@synthesize nameEquals;
@synthesize mobileEquals;
勾芒's avatar
勾芒 committed
1271 1272
@synthesize createTimeBegin;
@synthesize createTimeEnd;
1273
@synthesize page;
曹云霄's avatar
曹云霄 committed
1274 1275 1276

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1277
    return YES;
曹云霄's avatar
曹云霄 committed
1278 1279 1280
}


1281 1282 1283 1284 1285
@end

@implementation ExceptionCode
@synthesize code;
@synthesize message;
曹云霄's avatar
曹云霄 committed
1286 1287 1288

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1289
    return YES;
曹云霄's avatar
曹云霄 committed
1290 1291 1292
}


1293 1294
@end

曹云霄's avatar
曹云霄 committed
1295
@implementation EarningsResponse
曹云霄's avatar
曹云霄 committed
1296 1297 1298
@synthesize accountTotal;
@synthesize yesterdayEarnings;
@synthesize historyEarning;
曹云霄's avatar
曹云霄 committed
1299
@synthesize applytotal;
曹云霄's avatar
曹云霄 committed
1300 1301 1302

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1303
    return YES;
曹云霄's avatar
曹云霄 committed
1304 1305 1306
}


1307 1308
@end

曹云霄's avatar
曹云霄 committed
1309 1310 1311 1312 1313 1314 1315 1316 1317 1318 1319
@implementation ApplyRequest
@synthesize amount;

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


@end

1320 1321 1322 1323 1324 1325 1326 1327 1328
@implementation RsJingDongECardResponse
@synthesize list;

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


曹云霄's avatar
曹云霄 committed
1329 1330 1331 1332 1333 1334 1335 1336 1337 1338 1339
@end

@implementation RsSimpleJingDongECardResponse
@synthesize list;

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


1340 1341 1342 1343 1344 1345 1346 1347 1348 1349 1350 1351 1352 1353 1354 1355 1356 1357 1358 1359 1360
@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;
}


1361 1362 1363 1364 1365
@end

@implementation TSDepart
@synthesize TSPDepart;
@synthesize departname;
曹云霄's avatar
曹云霄 committed
1366
@synthesize fdescription;
1367 1368 1369 1370 1371 1372
@synthesize TSDeparts;
@synthesize orgCode;
@synthesize orgType;
@synthesize mobile;
@synthesize fax;
@synthesize address;
曹云霄's avatar
曹云霄 committed
1373 1374 1375

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1376
    return YES;
曹云霄's avatar
曹云霄 committed
1377 1378 1379 1380 1381
}


+(JSONKeyMapper*)keyMapper
{
1382
    return [[JSONKeyMapper alloc] initWithDictionary:@{
1383 1384 1385 1386 1387
                                                       @"description": @"fdescription",
                                                       }];
}


1388 1389
@end

曹云霄's avatar
曹云霄 committed
1390 1391 1392
@implementation TSUserOrg
@synthesize tsUser;
@synthesize tsDepart;
1393 1394 1395 1396 1397 1398 1399

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


曹云霄's avatar
曹云霄 committed
1400 1401
@end

曹云霄's avatar
曹云霄 committed
1402 1403
@implementation RsLotteryResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
1404 1405 1406 1407 1408 1409 1410

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


勾芒's avatar
勾芒 committed
1411 1412
@end

1413 1414
@implementation ShopCartResponse
@synthesize shopcart;
勾芒's avatar
勾芒 committed
1415 1416 1417 1418 1419 1420 1421

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


1422 1423
@end

1424 1425
@implementation SceneResponse
@synthesize list;
1426 1427 1428 1429 1430 1431 1432 1433 1434

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


@end

1435 1436
@implementation OrderResponse
@synthesize orderBillList;
1437 1438 1439 1440

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
1441
}
曹云霄's avatar
曹云霄 committed
1442 1443


1444 1445 1446 1447 1448 1449 1450 1451 1452 1453 1454 1455
@end

@implementation RsAwardDraw
@synthesize draw;
@synthesize award;

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


1456 1457
@end

曹云霄's avatar
曹云霄 committed
1458 1459
@implementation GoodsResponse
@synthesize goodsEntity;
曹云霄's avatar
曹云霄 committed
1460 1461 1462

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1463
    return YES;
1464
}
曹云霄's avatar
曹云霄 committed
1465 1466


1467 1468
@end

曹云霄's avatar
曹云霄 committed
1469 1470
@implementation ConsumerPageResult
@synthesize results;
曹云霄's avatar
曹云霄 committed
1471 1472 1473

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1474
    return YES;
1475
}
曹云霄's avatar
曹云霄 committed
1476 1477


1478 1479
@end

曹云霄's avatar
曹云霄 committed
1480 1481 1482 1483 1484 1485 1486 1487 1488 1489 1490 1491 1492
@implementation RsCommissionResponse
@synthesize list;

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


@end

@implementation RsApplyBillResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
1493 1494 1495

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1496
    return YES;
1497
}
曹云霄's avatar
曹云霄 committed
1498 1499


1500 1501 1502 1503 1504 1505 1506 1507 1508 1509 1510 1511 1512
@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
1513
@synthesize position;
曹云霄's avatar
曹云霄 committed
1514 1515 1516

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1517
    return YES;
曹云霄's avatar
曹云霄 committed
1518 1519 1520
}


1521 1522 1523 1524
@end

@implementation TOEmployee
@synthesize positions;
勾芒's avatar
勾芒 committed
1525
@synthesize picture;
1526
@synthesize positionsName;
曹云霄's avatar
曹云霄 committed
1527 1528 1529

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1530
    return YES;
曹云霄's avatar
曹云霄 committed
1531 1532 1533
}


1534 1535
@end