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.

31 lines
786 B

//
// FamilyContact.h
// tongxin
//
// Created by ecell on 2021/7/15.
// Copyright © 2021 xTT. All rights reserved.
//
#import <Foundation/Foundation.h>
#import "baseModel.h"
@interface FamilyContact : baseModel
@property (nonatomic, copy)NSString *number;
@property (nonatomic, copy)NSString *imei;
-(void)save:(FamilyContact *)familyContact success:(void (^)(void))success failure:(void (^)(NSError *error))failure;
-(void)update:(FamilyContact *)familyContact success:(void (^)(void))success failure:(void (^)(NSError *error))failure;
-(void)query:(void (^)(NSMutableArray *arr))success failure:(void (^)(NSError *error))failure;
-(void)deleteOne:(NSString *)cid imei:(NSString *)imei success:(void (^)(void))success failure:(void (^)(NSError *error))failure;
@end