opple_objc_json_client.m 19 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 96 97
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"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 127 128 129 130 131 132
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"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 161 162 163 164 165 166 167 168 169 170 171 172 173
@end

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

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


174 175
@end

勾芒's avatar
勾芒 committed
176 177 178 179 180 181 182 183
@implementation OrderPayRequest
@synthesize orderNumber;
@synthesize oldstate;
@synthesize fnewstate;
@synthesize payType;
@synthesize isbill;
@synthesize billType;
@synthesize billTitle;
曹云霄's avatar
曹云霄 committed
184 185 186

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
187 188 189 190
    return YES;
}


勾芒's avatar
勾芒 committed
191 192 193 194 195 196 197 198
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"newstate": @"fnewstate",
                                                       }];
}


199 200
@end

201 202 203
@implementation SceneFilter
@synthesize styles;
@synthesize space;
204 205 206 207

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
208 209 210
}


211 212
@end

213 214
@implementation RsShippingAddrEntity
@synthesize list;
勾芒's avatar
勾芒 committed
215 216 217 218 219 220 221 222 223

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


@end

224 225 226 227
@implementation SaveShoppingCartRequest
@synthesize consumerId;
@synthesize goodsId;
@synthesize count;
勾芒's avatar
勾芒 committed
228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246

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


@end

@implementation ShopCartFilter
@synthesize consumerId;
@synthesize dp;

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


曹云霄's avatar
曹云霄 committed
247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279
@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;

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


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


勾芒's avatar
勾芒 committed
280 281
@end

282 283 284 285 286 287 288 289 290 291 292 293 294 295 296
@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;
297 298 299 300 301 302 303

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


304 305 306 307 308 309 310 311
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


312 313
@end

曹云霄's avatar
曹云霄 committed
314
@implementation TOGoodsForResellerEntity
曹云霄's avatar
曹云霄 committed
315
@synthesize fid;
316
@synthesize resellerId;
曹云霄's avatar
曹云霄 committed
317 318
@synthesize goods;
@synthesize path;
曹云霄's avatar
曹云霄 committed
319 320 321

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
322 323 324 325 326 327 328 329 330 331 332 333 334 335
    return YES;
}


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


@end

曹云霄's avatar
曹云霄 committed
336
@implementation TOGoodsBrandEntity
337
@synthesize fid;
曹云霄's avatar
曹云霄 committed
338 339 340 341 342
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
343 344
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
345 346 347
@synthesize state;
@synthesize logo;
@synthesize fdescription;
348 349 350 351 352 353 354 355 356 357

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


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
曹云霄's avatar
曹云霄 committed
358
                                                       @"description": @"fdescription",
359 360 361 362 363 364 365
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
366 367
@implementation TOGoodsLabelEntity
@synthesize category;
368 369 370 371
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name;
曹云霄's avatar
曹云霄 committed
372
@synthesize categoryId;
373 374 375 376

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
377 378 379 380 381
}


+(JSONKeyMapper*)keyMapper
{
382 383 384
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
385 386 387
}


388 389
@end

曹云霄's avatar
曹云霄 committed
390
@implementation TOOrderEntity
曹云霄's avatar
曹云霄 committed
391
@synthesize fid;
曹云霄's avatar
曹云霄 committed
392 393 394 395 396 397 398 399 400 401 402 403
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize orderNumber;
@synthesize orderTime;
@synthesize guideId;
@synthesize orderState;
@synthesize consumerId;
404
@synthesize goodsNum;
曹云霄's avatar
曹云霄 committed
405 406 407 408 409 410 411 412 413 414 415
@synthesize orderPrice;
@synthesize receiverName;
@synthesize receiverMobile;
@synthesize receiverAddress;
@synthesize isBill;
@synthesize billType;
@synthesize billTitle;
@synthesize payType;
@synthesize consumerName;
@synthesize guideName;
@synthesize resellerName;
曹云霄's avatar
曹云霄 committed
416 417 418

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
419
    return YES;
曹云霄's avatar
曹云霄 committed
420 421 422 423 424
}


+(JSONKeyMapper*)keyMapper
{
425 426 427
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
428 429 430
}


431 432
@end

曹云霄's avatar
曹云霄 committed
433
@implementation TOPositionEntity
曹云霄's avatar
曹云霄 committed
434
@synthesize fid;
曹云霄's avatar
曹云霄 committed
435
@synthesize code;
436
@synthesize name;
曹云霄's avatar
曹云霄 committed
437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467
@synthesize commission;
@synthesize lowestDiscount;
@synthesize resellerCode;

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


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


@end

@implementation TOShippingAddrEntity
@synthesize fid;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize name;
@synthesize miblephone;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
@synthesize consumerId;
曹云霄's avatar
曹云霄 committed
468 469 470

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
471
    return YES;
曹云霄's avatar
曹云霄 committed
472 473 474 475 476
}


+(JSONKeyMapper*)keyMapper
{
477 478 479 480 481 482 483 484
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

485 486
@implementation TOShopcartEntity
@synthesize goods;
487
@synthesize fid;
488 489
@synthesize createName;
@synthesize createBy;
490
@synthesize createDate;
491 492 493 494 495
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize goodsId;
@synthesize goodsNum;
496
@synthesize consumerId;
497 498
@synthesize resellerId;
@synthesize costPrice;
499 500 501 502 503 504 505 506 507 508 509 510

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


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
511 512 513
}


514 515
@end

曹云霄's avatar
曹云霄 committed
516 517 518 519
NSString * const SORTDIRECTION_ASC = @"asc";
NSString * const SORTDIRECTION_DESC = @"desc";


520
@implementation IdEntity
曹云霄's avatar
曹云霄 committed
521 522 523 524
@synthesize fid;

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


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


537 538
@end

曹云霄's avatar
曹云霄 committed
539
@implementation TOSceneEntity
540
@synthesize fid;
曹云霄's avatar
曹云霄 committed
541
@synthesize sceneCode;
542
@synthesize name;
曹云霄's avatar
曹云霄 committed
543 544 545 546
@synthesize pricure;
@synthesize category;
@synthesize style;
@synthesize space;
547 548 549 550 551 552 553 554 555 556 557 558 559 560 561

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


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


562 563
@end

曹云霄's avatar
曹云霄 committed
564
@implementation TOOrderdetailEntity
曹云霄's avatar
曹云霄 committed
565
@synthesize fid;
曹云霄's avatar
曹云霄 committed
566 567 568 569 570 571 572 573 574 575 576 577
@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
578 579 580

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
581
    return YES;
曹云霄's avatar
曹云霄 committed
582 583 584 585 586
}


+(JSONKeyMapper*)keyMapper
{
587 588 589
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
590 591 592
}


593 594
@end

曹云霄's avatar
曹云霄 committed
595
@implementation TOGoodsLabelCategoryEntity
曹云霄's avatar
曹云霄 committed
596
@synthesize fid;
597
@synthesize sysOrgCode;
曹云霄's avatar
曹云霄 committed
598 599 600
@synthesize sysCompanyCode;
@synthesize code;
@synthesize name;
曹云霄's avatar
曹云霄 committed
601 602 603

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
604
    return YES;
曹云霄's avatar
曹云霄 committed
605 606 607 608 609
}


+(JSONKeyMapper*)keyMapper
{
610 611 612 613 614 615 616 617
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

曹云霄's avatar
曹云霄 committed
618 619
@implementation TOGoodsCategoryEntity
@synthesize upperName;
曹云霄's avatar
曹云霄 committed
620
@synthesize fid;
曹云霄's avatar
曹云霄 committed
621
@synthesize code;
勾芒's avatar
勾芒 committed
622
@synthesize name;
曹云霄's avatar
曹云霄 committed
623 624
@synthesize upperId;
@synthesize level;
曹云霄's avatar
曹云霄 committed
625 626 627

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


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


@end

曹云霄's avatar
曹云霄 committed
642
@implementation VOResellerGoodsEntity
643
@synthesize fid;
644
@synthesize createDate;
曹云霄's avatar
曹云霄 committed
645 646
@synthesize onlineTime;
@synthesize company;
647
@synthesize code;
648
@synthesize name;
曹云霄's avatar
曹云霄 committed
649 650 651 652 653 654 655
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
656
@synthesize state;
曹云霄's avatar
曹云霄 committed
657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679
@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;
680 681 682 683 684 685 686 687 688 689 690 691 692 693 694 695 696

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


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


@end

697 698 699 700 701 702
@implementation TOGoodsEntity
@synthesize resellerInv;
@synthesize resellerTagPrice;
@synthesize resellerState;
@synthesize categoryName;
@synthesize brandName;
703
@synthesize fid;
勾芒's avatar
勾芒 committed
704
@synthesize createDate;
705 706
@synthesize onlineTime;
@synthesize company;
707 708
@synthesize code;
@synthesize name;
709 710 711 712 713 714 715
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
勾芒's avatar
勾芒 committed
716
@synthesize state;
717 718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736
@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
737 738 739 740 741 742 743 744 745 746 747 748 749 750 751 752 753 754 755 756 757 758 759 760 761 762
@synthesize goodsResellerList;

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


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


@end

@implementation TOCommissionHistEntity
@synthesize fid;
@synthesize createName;
@synthesize createDate;
@synthesize resellerCode;
@synthesize employeeId;
@synthesize orderId;
@synthesize amount;
曹云霄's avatar
曹云霄 committed
763
@synthesize afteramount;
曹云霄's avatar
曹云霄 committed
764 765 766 767
@synthesize remark;
@synthesize orderNumber;
@synthesize employeeName;
@synthesize state;
768 769 770 771 772 773 774 775 776 777 778 779

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


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
780 781 782
}


783 784
@end

785 786 787
@implementation RsShareResponse
@synthesize shareId;
@synthesize url;
曹云霄's avatar
曹云霄 committed
788 789 790

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
791
    return YES;
曹云霄's avatar
曹云霄 committed
792 793 794
}


勾芒's avatar
勾芒 committed
795 796
@end

797 798
@implementation DeleteCartRequest
@synthesize cartIds;
勾芒's avatar
勾芒 committed
799 800 801 802 803 804 805 806 807

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


@end

808 809 810 811
@implementation SceneCondition
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize page;
勾芒's avatar
勾芒 committed
812 813 814 815 816 817 818

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


819 820
@end

勾芒's avatar
勾芒 committed
821 822 823 824 825 826
@implementation OrderBill
@synthesize datapage;
@synthesize order;
@synthesize orderdetailList;
@synthesize consumer;
@synthesize employee;
曹云霄's avatar
曹云霄 committed
827 828 829

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
830 831 832 833 834 835
    return YES;
}


@end

勾芒's avatar
勾芒 committed
836 837 838 839 840 841 842 843 844
@implementation GoodsCondition
@synthesize nameLike;
@synthesize categoryEquals;
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize materialEqueals;
@synthesize startprice;
@synthesize endprice;
@synthesize page;
845 846 847 848 849 850 851

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


勾芒's avatar
勾芒 committed
852 853 854 855 856 857 858
@end

@implementation DataDict
@synthesize typename;
@synthesize typecode;

+(BOOL)propertyIsOptional:(NSString*)propertyName
859
{
勾芒's avatar
勾芒 committed
860
    return YES;
曹云霄's avatar
曹云霄 committed
861 862 863
}


864 865 866 867
@end

@implementation ResetPasswordRequest
@synthesize username;
868
@synthesize smsCode;
曹云霄's avatar
曹云霄 committed
869 870 871 872
@synthesize fnewPassword;

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


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


885 886 887 888
@end

@implementation LoginResult
@synthesize employee;
889 890 891
@synthesize commissionRate;
@synthesize commissionTotal;
@synthesize lowestDiscount;
曹云霄's avatar
曹云霄 committed
892 893 894

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
895
    return YES;
曹云霄's avatar
曹云霄 committed
896 897 898
}


899 900 901
@end

@implementation ConsumerQueryCondition
勾芒's avatar
勾芒 committed
902
@synthesize resellerCodeEquals;
903 904
@synthesize nameEquals;
@synthesize mobileEquals;
勾芒's avatar
勾芒 committed
905 906
@synthesize createTimeBegin;
@synthesize createTimeEnd;
907
@synthesize page;
曹云霄's avatar
曹云霄 committed
908 909 910

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
911
    return YES;
曹云霄's avatar
曹云霄 committed
912 913 914
}


915 916 917 918 919
@end

@implementation ExceptionCode
@synthesize code;
@synthesize message;
曹云霄's avatar
曹云霄 committed
920 921 922

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
923
    return YES;
曹云霄's avatar
曹云霄 committed
924 925 926
}


927 928
@end

曹云霄's avatar
曹云霄 committed
929
@implementation EarningsResponse
曹云霄's avatar
曹云霄 committed
930 931 932
@synthesize accountTotal;
@synthesize yesterdayEarnings;
@synthesize historyEarning;
曹云霄's avatar
曹云霄 committed
933 934 935

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


940 941
@end

曹云霄's avatar
曹云霄 committed
942 943 944 945 946 947 948 949 950 951 952 953 954
@implementation ApplyRequest
@synthesize amount;

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


@end

@implementation OrderResponse
@synthesize orderBillList;
曹云霄's avatar
曹云霄 committed
955 956 957

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


962 963 964 965 966
@end

@implementation TSDepart
@synthesize TSPDepart;
@synthesize departname;
曹云霄's avatar
曹云霄 committed
967
@synthesize fdescription;
968 969 970 971 972 973
@synthesize TSDeparts;
@synthesize orgCode;
@synthesize orgType;
@synthesize mobile;
@synthesize fax;
@synthesize address;
曹云霄's avatar
曹云霄 committed
974 975 976

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
977
    return YES;
曹云霄's avatar
曹云霄 committed
978 979 980 981 982
}


+(JSONKeyMapper*)keyMapper
{
983 984 985 986 987 988
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"description": @"fdescription",
                                                       }];
}


曹云霄's avatar
曹云霄 committed
989 990 991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009
@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;
}


勾芒's avatar
勾芒 committed
1010 1011
@end

1012 1013 1014
@implementation TSUserOrg
@synthesize tsUser;
@synthesize tsDepart;
勾芒's avatar
勾芒 committed
1015 1016 1017 1018 1019 1020 1021

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


1022 1023
@end

1024 1025
@implementation ShopCartResponse
@synthesize shopcart;
1026 1027 1028 1029 1030 1031 1032 1033 1034

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


@end

勾芒's avatar
勾芒 committed
1035 1036
@implementation SceneResponse
@synthesize list;
1037 1038 1039 1040

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
1041
}
曹云霄's avatar
曹云霄 committed
1042 1043


1044 1045
@end

曹云霄's avatar
曹云霄 committed
1046 1047
@implementation GoodsResponse
@synthesize goodsEntity;
曹云霄's avatar
曹云霄 committed
1048 1049 1050

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1051
    return YES;
1052
}
曹云霄's avatar
曹云霄 committed
1053 1054


1055 1056
@end

曹云霄's avatar
曹云霄 committed
1057 1058
@implementation ConsumerPageResult
@synthesize results;
曹云霄's avatar
曹云霄 committed
1059 1060 1061

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1062
    return YES;
1063
}
曹云霄's avatar
曹云霄 committed
1064 1065


1066 1067
@end

曹云霄's avatar
曹云霄 committed
1068 1069 1070 1071 1072 1073 1074 1075 1076 1077 1078 1079 1080
@implementation RsCommissionResponse
@synthesize list;

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


@end

@implementation RsApplyBillResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
1081 1082 1083

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1084
    return YES;
1085
}
曹云霄's avatar
曹云霄 committed
1086 1087


1088 1089 1090 1091 1092 1093 1094 1095 1096 1097 1098 1099 1100
@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
1101
@synthesize position;
曹云霄's avatar
曹云霄 committed
1102 1103 1104

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


1109 1110 1111 1112
@end

@implementation TOEmployee
@synthesize positions;
勾芒's avatar
勾芒 committed
1113
@synthesize picture;
1114
@synthesize positionsName;
曹云霄's avatar
曹云霄 committed
1115 1116 1117

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
1118
    return YES;
曹云霄's avatar
曹云霄 committed
1119 1120 1121
}


1122 1123
@end