You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
73 lines
1.4 KiB
73 lines
1.4 KiB
1 year ago
|
//
|
||
|
// Contacts.h
|
||
|
// myWatch
|
||
|
//
|
||
|
// Created by xTT on 15/11/5.
|
||
|
// Copyright © 2015年 xTT. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <Foundation/Foundation.h>
|
||
|
#import <UIKit/UIKit.h>
|
||
|
#import "baseModel.h"
|
||
|
|
||
|
|
||
|
@class Device;
|
||
|
|
||
|
@interface Contacts : baseModel
|
||
|
|
||
|
/**
|
||
|
如果是家庭成员才会有这个字段, 家庭成员的对应的 openid
|
||
|
*/
|
||
|
@property (nonatomic, strong) NSString *openid;
|
||
|
@property (nonatomic, strong) NSString *groupid;
|
||
|
@property (nonatomic, strong) NSNumber *type;
|
||
|
|
||
|
/**
|
||
|
用户身份('admin', 'member')
|
||
|
*/
|
||
|
@property (nonatomic, strong) NSString *identity;
|
||
|
|
||
|
/**
|
||
|
用户相对设备的身份ID
|
||
|
*/
|
||
|
@property (nonatomic, strong) NSNumber *relationship_image_id;
|
||
|
|
||
|
/**
|
||
|
是否转让管理员
|
||
|
*/
|
||
|
@property (nonatomic, strong) NSNumber *transfer;
|
||
|
|
||
|
/**
|
||
|
是否选中
|
||
|
*/
|
||
|
@property (assign ,nonatomic) BOOL isSelect;
|
||
|
|
||
|
/**
|
||
|
多个联系人
|
||
|
*/
|
||
|
@property (nonatomic, copy) NSMutableArray *contact_arry;
|
||
|
|
||
|
|
||
|
/**
|
||
|
多人通讯录的添加
|
||
|
|
||
|
@param success <#success description#>
|
||
|
@param failure <#failure description#>
|
||
|
*/
|
||
|
- (void)saveManyPerson:(void (^)())success
|
||
|
failure:(void (^)())failure;
|
||
|
|
||
|
|
||
|
- (void)deleteSuccess:(void (^)())success
|
||
|
failure:(void (^)())failure;
|
||
|
|
||
|
/**
|
||
|
多人通讯录的删除
|
||
|
|
||
|
@param success success description
|
||
|
@param failure failure description
|
||
|
*/
|
||
|
+ (void)deleteManyPersonWithIDs:(NSArray*)ids success:(void (^)())success
|
||
|
failure:(void (^)())failure;
|
||
|
@end
|