opple_objc_json_client.m 14.9 KB
Newer Older
1 2 3 4 5 6 7

#import "opple_objc_json_client.h"

@implementation PageRows
@synthesize page;
@synthesize rows;
@synthesize total;
曹云霄's avatar
曹云霄 committed
8 9 10

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
11
    return YES;
曹云霄's avatar
曹云霄 committed
12 13 14
}


15 16 17 18 19 20
@end

@implementation RsResponse
@synthesize code;
@synthesize message;
@synthesize data;
曹云霄's avatar
曹云霄 committed
21 22 23

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
24
    return YES;
曹云霄's avatar
曹云霄 committed
25 26 27
}


28 29 30 31 32
@end

@implementation LoginInfo
@synthesize username;
@synthesize password;
曹云霄's avatar
曹云霄 committed
33 34 35

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
36
    return YES;
曹云霄's avatar
曹云霄 committed
37 38 39
}


40 41 42 43 44
@end

@implementation ModifyPasswordRequest
@synthesize employeeId;
@synthesize oldPassword;
曹云霄's avatar
曹云霄 committed
45 46 47 48
@synthesize fnewPassword;

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


+(JSONKeyMapper*)keyMapper
{
55 56 57
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"newPassword": @"fnewPassword",
                                                       }];
曹云霄's avatar
曹云霄 committed
58 59 60
}


61 62
@end

63 64 65
@implementation DataDict
@synthesize typename;
@synthesize typecode;
曹云霄's avatar
曹云霄 committed
66 67 68

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
69
    return YES;
70
}
曹云霄's avatar
曹云霄 committed
71 72


73 74 75 76 77 78 79 80 81 82 83 84 85
@end

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

+(BOOL)propertyIsOptional:(NSString*)propertyName
曹云霄's avatar
曹云霄 committed
86
{
87
    return YES;
曹云霄's avatar
曹云霄 committed
88 89 90
}


91 92 93 94 95 96 97 98
@end

@implementation GoodsFilter
@synthesize styles;
@synthesize categories;
@synthesize space;
@synthesize material;
@synthesize price;
曹云霄's avatar
曹云霄 committed
99 100 101

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
102
    return YES;
103
}
曹云霄's avatar
曹云霄 committed
104 105


106 107 108 109 110 111
@end

@implementation OrderBill
@synthesize datapage;
@synthesize order;
@synthesize orderdetailList;
112 113
@synthesize consumer;
@synthesize employee;
曹云霄's avatar
曹云霄 committed
114 115 116

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
117
    return YES;
118
}
曹云霄's avatar
曹云霄 committed
119 120


121 122
@end

勾芒's avatar
勾芒 committed
123 124 125 126 127 128 129 130
@implementation OrderPayRequest
@synthesize orderNumber;
@synthesize oldstate;
@synthesize fnewstate;
@synthesize payType;
@synthesize isbill;
@synthesize billType;
@synthesize billTitle;
曹云霄's avatar
曹云霄 committed
131 132 133

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
134 135 136 137
    return YES;
}


勾芒's avatar
勾芒 committed
138 139 140 141 142 143 144 145
+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"newstate": @"fnewstate",
                                                       }];
}


146 147 148 149 150 151 152 153 154
@end

@implementation SceneFilter
@synthesize styles;
@synthesize space;

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


158 159
@end

勾芒's avatar
勾芒 committed
160 161 162 163 164 165 166 167 168 169 170 171 172 173 174
@implementation RsShippingAddrEntity
@synthesize list;

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


@end

@implementation SaveShoppingCartRequest
@synthesize consumerId;
@synthesize goodsId;
@synthesize count;
勾芒's avatar
勾芒 committed
175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195

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


@end

@implementation ShopCartFilter
@synthesize consumerId;
@synthesize dp;

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


@end

勾芒's avatar
勾芒 committed
196
@implementation TOGoodsEntity
曹云霄's avatar
曹云霄 committed
197
@synthesize fid;
198
@synthesize createDate;
勾芒's avatar
勾芒 committed
199 200 201
@synthesize onlineTime;
@synthesize company;
@synthesize code;
202
@synthesize name;
勾芒's avatar
勾芒 committed
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
@synthesize number;
@synthesize categoryId;
@synthesize brandId;
@synthesize keyword;
@synthesize guidePrice;
@synthesize tagPrice;
@synthesize costPrice;
@synthesize state;
@synthesize inv;
@synthesize detailedIntro;
@synthesize weight;
@synthesize unit;
@synthesize productProfile;
@synthesize power;
@synthesize colorTemperature;
@synthesize spec;
@synthesize function;
@synthesize material;
@synthesize lightSource;
@synthesize goodsStyle;
@synthesize series;
@synthesize area;
@synthesize size;
@synthesize space;
@synthesize installMethod;
@synthesize lightNumber;
@synthesize pictures;
@synthesize barcode;
曹云霄's avatar
曹云霄 committed
231 232 233

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
234 235 236 237 238 239 240 241 242 243 244 245 246 247
    return YES;
}


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


@end

勾芒's avatar
勾芒 committed
248 249
@implementation TOGoodsCategoryEntity
@synthesize upperName;
250 251 252
@synthesize fid;
@synthesize code;
@synthesize name;
勾芒's avatar
勾芒 committed
253 254
@synthesize upperId;
@synthesize level;
255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271

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


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


@end

勾芒's avatar
勾芒 committed
272
@implementation TOGoodsLabelCategoryEntity
273 274 275
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
勾芒's avatar
勾芒 committed
276
@synthesize code;
277 278 279 280 281
@synthesize name;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
曹云霄's avatar
曹云霄 committed
282 283 284 285 286
}


+(JSONKeyMapper*)keyMapper
{
287 288 289
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
290 291 292
}


293 294
@end

勾芒's avatar
勾芒 committed
295
@implementation TOOrderEntity
曹云霄's avatar
曹云霄 committed
296
@synthesize fid;
勾芒's avatar
勾芒 committed
297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize sysOrgCode;
@synthesize orderNumber;
@synthesize orderTime;
@synthesize guideId;
@synthesize orderState;
@synthesize consumerId;
@synthesize goodsNum;
@synthesize orderPrice;
@synthesize receiverName;
@synthesize receiverMobile;
@synthesize receiverAddress;
@synthesize isBill;
@synthesize billType;
@synthesize billTitle;
@synthesize payType;
曹云霄's avatar
曹云霄 committed
318 319 320

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


+(JSONKeyMapper*)keyMapper
{
327 328 329
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
330 331 332
}


333 334
@end

勾芒's avatar
勾芒 committed
335
@implementation TOPositionEntity
曹云霄's avatar
曹云霄 committed
336
@synthesize fid;
勾芒's avatar
勾芒 committed
337 338 339 340
@synthesize code;
@synthesize name;
@synthesize commission;
@synthesize resellerCode;
曹云霄's avatar
曹云霄 committed
341 342 343

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
344
    return YES;
曹云霄's avatar
曹云霄 committed
345 346 347 348 349
}


+(JSONKeyMapper*)keyMapper
{
350 351 352 353 354 355 356 357
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

勾芒's avatar
勾芒 committed
358
@implementation TOShippingAddrEntity
359
@synthesize fid;
勾芒's avatar
勾芒 committed
360 361
@synthesize createDate;
@synthesize sysOrgCode;
362
@synthesize name;
勾芒's avatar
勾芒 committed
363 364 365 366 367 368
@synthesize miblephone;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
@synthesize consumerId;
369 370 371 372 373 374 375 376 377 378 379 380

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


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


384 385 386
@end

@implementation TOShopcartEntity
勾芒's avatar
勾芒 committed
387
@synthesize goods;
曹云霄's avatar
曹云霄 committed
388
@synthesize fid;
389 390 391 392 393 394 395 396 397
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize updateName;
@synthesize updateBy;
@synthesize updateDate;
@synthesize goodsId;
@synthesize goodsNum;
@synthesize consumerId;
勾芒's avatar
勾芒 committed
398
@synthesize resellerId;
勾芒's avatar
勾芒 committed
399
@synthesize costPrice;
曹云霄's avatar
曹云霄 committed
400 401 402

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
403
    return YES;
曹云霄's avatar
曹云霄 committed
404 405 406 407 408
}


+(JSONKeyMapper*)keyMapper
{
409 410 411
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
412 413 414
}


415 416
@end

勾芒's avatar
勾芒 committed
417 418 419 420 421 422
#ifndef DEF_SortDirection_M
#define DEF_SortDirection_M
NSString * const SORTDIRECTION_ASC = @"asc";
NSString * const SORTDIRECTION_DESC = @"desc";
#endif /* DEF_SortDirection_M */

423
@implementation IdEntity
曹云霄's avatar
曹云霄 committed
424 425 426 427
@synthesize fid;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
428
    return YES;
曹云霄's avatar
曹云霄 committed
429 430 431 432 433
}


+(JSONKeyMapper*)keyMapper
{
434 435 436
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
437 438 439
}


440 441
@end

勾芒's avatar
勾芒 committed
442
@implementation TOSceneEntity
曹云霄's avatar
曹云霄 committed
443
@synthesize fid;
勾芒's avatar
勾芒 committed
444
@synthesize sceneCode;
445
@synthesize name;
勾芒's avatar
勾芒 committed
446 447 448 449
@synthesize pricure;
@synthesize category;
@synthesize style;
@synthesize space;
曹云霄's avatar
曹云霄 committed
450 451 452

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
453
    return YES;
曹云霄's avatar
曹云霄 committed
454 455 456 457 458
}


+(JSONKeyMapper*)keyMapper
{
459 460 461 462 463 464 465 466
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

勾芒's avatar
勾芒 committed
467
@implementation TOOrderdetailEntity
468
@synthesize fid;
勾芒's avatar
勾芒 committed
469 470 471 472 473 474 475 476 477 478 479 480
@synthesize goodsId;
@synthesize goodsCode;
@synthesize goodsName;
@synthesize goodsCover;
@synthesize goodsSpec;
@synthesize goodsBrand;
@synthesize goodsNum;
@synthesize goodsPrice;
@synthesize goodsTotalPrice;
@synthesize orderId;
@synthesize goodsUnit;
@synthesize remark;
481 482 483 484 485 486 487 488 489 490 491 492

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


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


496 497
@end

勾芒's avatar
勾芒 committed
498
@implementation TOHottagEntity
曹云霄's avatar
曹云霄 committed
499
@synthesize fid;
勾芒's avatar
勾芒 committed
500
@synthesize name;
曹云霄's avatar
曹云霄 committed
501 502 503

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
504
    return YES;
曹云霄's avatar
曹云霄 committed
505 506 507 508 509
}


+(JSONKeyMapper*)keyMapper
{
510 511 512 513 514 515 516 517
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"id": @"fid",
                                                       }];
}


@end

勾芒's avatar
勾芒 committed
518
@implementation TOGoodsLabelEntity
519 520 521 522
@synthesize fid;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
@synthesize name;
勾芒's avatar
勾芒 committed
523
@synthesize categoryId;
524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540

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


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


@end

勾芒's avatar
勾芒 committed
541
@implementation TOGoodsBrandEntity
542
@synthesize fid;
勾芒's avatar
勾芒 committed
543 544 545 546 547
@synthesize createName;
@synthesize createBy;
@synthesize createDate;
@synthesize sysOrgCode;
@synthesize sysCompanyCode;
548 549
@synthesize code;
@synthesize name;
勾芒's avatar
勾芒 committed
550 551 552
@synthesize state;
@synthesize logo;
@synthesize fdescription;
553 554 555 556 557 558 559 560 561 562

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


+(JSONKeyMapper*)keyMapper
{
    return [[JSONKeyMapper alloc] initWithDictionary:@{
勾芒's avatar
勾芒 committed
563
                                                       @"description": @"fdescription",
564 565
                                                       @"id": @"fid",
                                                       }];
曹云霄's avatar
曹云霄 committed
566 567 568
}


569 570
@end

勾芒's avatar
勾芒 committed
571
@implementation TOConsumerEntity
曹云霄's avatar
曹云霄 committed
572
@synthesize fid;
勾芒's avatar
勾芒 committed
573 574
@synthesize createName;
@synthesize createBy;
575
@synthesize createDate;
勾芒's avatar
勾芒 committed
576
@synthesize sysOrgCode;
577
@synthesize name;
勾芒's avatar
勾芒 committed
578 579 580 581 582 583 584
@synthesize mobile;
@synthesize province;
@synthesize city;
@synthesize country;
@synthesize address;
@synthesize picture;
@synthesize lastVisitedTime;
曹云霄's avatar
曹云霄 committed
585 586 587

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
588
    return YES;
曹云霄's avatar
曹云霄 committed
589 590 591 592 593
}


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


勾芒's avatar
勾芒 committed
600 601
@end

勾芒's avatar
勾芒 committed
602 603
@implementation DeleteCartRequest
@synthesize cartIds;
勾芒's avatar
勾芒 committed
604 605 606 607 608 609 610 611 612

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


@end

勾芒's avatar
勾芒 committed
613 614 615 616
@implementation SceneCondition
@synthesize styleEquals;
@synthesize spaceEquals;
@synthesize page;
勾芒's avatar
勾芒 committed
617 618 619 620 621 622 623

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


624 625
@end

626 627
@implementation HotTagResponse
@synthesize list;
曹云霄's avatar
曹云霄 committed
628 629 630

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652
    return YES;
}


@end

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

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


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


656 657 658 659 660
@end

@implementation ResetPasswordRequest
@synthesize username;
@synthesize smsCode;
曹云霄's avatar
曹云霄 committed
661 662 663 664
@synthesize fnewPassword;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
665
    return YES;
曹云霄's avatar
曹云霄 committed
666 667 668 669 670
}


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


677 678 679 680 681
@end

@implementation LoginResult
@synthesize employee;
@synthesize commission;
曹云霄's avatar
曹云霄 committed
682 683 684

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
685
    return YES;
曹云霄's avatar
曹云霄 committed
686 687 688
}


689 690 691
@end

@implementation ConsumerQueryCondition
勾芒's avatar
勾芒 committed
692
@synthesize resellerCodeEquals;
693 694
@synthesize nameEquals;
@synthesize mobileEquals;
勾芒's avatar
勾芒 committed
695 696
@synthesize createTimeBegin;
@synthesize createTimeEnd;
697
@synthesize page;
曹云霄's avatar
曹云霄 committed
698 699 700

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
701
    return YES;
曹云霄's avatar
曹云霄 committed
702 703 704
}


705 706 707 708 709
@end

@implementation ExceptionCode
@synthesize code;
@synthesize message;
曹云霄's avatar
曹云霄 committed
710 711 712

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


717 718 719 720 721 722 723 724
@end

@implementation DataPage
@synthesize total;
@synthesize page;
@synthesize rows;
@synthesize sort;
@synthesize order;
曹云霄's avatar
曹云霄 committed
725 726 727

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
728
    return YES;
曹云霄's avatar
曹云霄 committed
729 730 731
}


732 733 734 735 736 737 738 739 740 741 742 743 744 745
@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;
曹云霄's avatar
曹云霄 committed
746 747 748

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
749
    return YES;
750
}
曹云霄's avatar
曹云霄 committed
751 752


753 754 755 756 757
@end

@implementation TSDepart
@synthesize TSPDepart;
@synthesize departname;
曹云霄's avatar
曹云霄 committed
758
@synthesize fdescription;
759 760 761 762 763 764
@synthesize TSDeparts;
@synthesize orgCode;
@synthesize orgType;
@synthesize mobile;
@synthesize fax;
@synthesize address;
曹云霄's avatar
曹云霄 committed
765 766 767

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
768
    return YES;
曹云霄's avatar
曹云霄 committed
769 770 771 772 773
}


+(JSONKeyMapper*)keyMapper
{
774 775 776 777 778 779
    return [[JSONKeyMapper alloc] initWithDictionary:@{
                                                       @"description": @"fdescription",
                                                       }];
}


勾芒's avatar
勾芒 committed
780 781 782 783 784 785 786 787 788 789 790
@end

@implementation ShopCartResponse
@synthesize shopcart;

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


791 792 793 794 795 796 797 798 799 800 801 802 803 804
@end

@implementation TSUserOrg
@synthesize tsUser;
@synthesize tsDepart;

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


@end

勾芒's avatar
勾芒 committed
805 806
@implementation SceneResponse
@synthesize list;
807 808 809 810

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
    return YES;
811
}
曹云霄's avatar
曹云霄 committed
812 813


814 815 816 817
@end

@implementation OrderResponse
@synthesize orderBillList;
曹云霄's avatar
曹云霄 committed
818 819 820

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
821
    return YES;
822
}
曹云霄's avatar
曹云霄 committed
823 824


825 826 827
@end

@implementation GoodsResponse
曹云霄's avatar
曹云霄 committed
828 829 830 831
@synthesize goodsEntity;

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
832
    return YES;
833
}
曹云霄's avatar
曹云霄 committed
834 835


836 837 838 839
@end

@implementation ConsumerPageResult
@synthesize results;
曹云霄's avatar
曹云霄 committed
840 841 842

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
843
    return YES;
844
}
曹云霄's avatar
曹云霄 committed
845 846


847 848 849 850 851 852 853 854 855 856 857 858 859
@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
860
@synthesize position;
曹云霄's avatar
曹云霄 committed
861 862 863

+(BOOL)propertyIsOptional:(NSString*)propertyName
{
864
    return YES;
曹云霄's avatar
曹云霄 committed
865 866 867
}


868 869 870 871
@end

@implementation TOEmployee
@synthesize positions;
曹云霄's avatar
曹云霄 committed
872 873 874

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


879 880
@end