opple_objc_json_client.m 19.1 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 brandName;
曹云霄's avatar
曹云霄 committed
566
@synthesize fid;
曹云霄's avatar
曹云霄 committed
567 568 569 570 571 572 573 574 575 576 577 578
@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
579 580 581

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


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


594 595
@end

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

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


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


@end

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

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


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


@end

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

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


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


@end

698 699 700 701 702 703
@implementation TOGoodsEntity
@synthesize resellerInv;
@synthesize resellerTagPrice;
@synthesize resellerState;
@synthesize categoryName;
@synthesize brandName;
704
@synthesize fid;
勾芒's avatar
勾芒 committed
705
@synthesize createDate;
706 707
@synthesize onlineTime;
@synthesize company;
708 709
@synthesize code;
@synthesize name;
710 711 712 713 714 715 716
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
勾芒's avatar
勾芒 committed
717
@synthesize state;
718 719 720 721 722 723 724 725 726 727 728 729 730 731 732 733 734 735 736 737
@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
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 763
@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
764
@synthesize afteramount;
曹云霄's avatar
曹云霄 committed
765 766 767 768
@synthesize remark;
@synthesize orderNumber;
@synthesize employeeName;
@synthesize state;
769 770 771 772 773 774 775 776 777 778 779 780

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


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


784 785
@end

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

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


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

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

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


@end

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

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


820 821
@end

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

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


@end

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

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


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

@implementation DataDict
@synthesize typename;
@synthesize typecode;

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


865 866 867 868
@end

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

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


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


886 887 888 889
@end

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

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


900 901 902
@end

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

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


916 917 918 919 920
@end

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

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


928 929
@end

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

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


942 943
@end

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

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


@end

@implementation OrderResponse
@synthesize orderBillList;
曹云霄's avatar
曹云霄 committed
957 958 959

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


964 965 966 967 968
@end

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

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


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


曹云霄's avatar
曹云霄 committed
991 992 993 994 995 996 997 998 999 1000 1001 1002 1003 1004 1005 1006 1007 1008 1009 1010 1011
@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
1012 1013
@end

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

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


1024 1025
@end

1026 1027
@implementation ShopCartResponse
@synthesize shopcart;
1028 1029 1030 1031 1032 1033 1034 1035 1036

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


@end

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

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


1046 1047
@end

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

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


1057 1058
@end

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

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


1068 1069
@end

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

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


@end

@implementation RsApplyBillResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
1083 1084 1085

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


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

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


1111 1112 1113 1114
@end

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

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


1124 1125
@end