//
//  HomeDBHelper.h
//  MobilePortal
//
//  Created by xiejiangbo on 2019/3/14.
//  Copyright © 2019 yin chen. All rights reserved.
//

#import <Foundation/Foundation.h>
#import "HomeHttpInfoModelBannerModel.h"
#import "HomeHttpInfoModelMenuModel.h"
#import "HomeHttpInfoModelTitleContentModel.h"

@interface HomeDBHelper : NSObject
+(instancetype)SharedHomeDBHelper;
// 首页数据存储
-(void)saveHomeHttpInfoModelBannerModel:(HomeHttpInfoModelBannerModel *)selecHomeHttpInfoModelBannerModel callBack:(void (^)(BOOL))block;
-(BOOL)hasHomeHttpInfoModelBannerModel;
-(NSMutableArray *)allHomeHttpInfoModelBannerModel;
-(void)deleteHomeHttpInfoModelBannerModel:(void (^)(BOOL))block;

-(void)saveHomeHttpInfoModelMenuModel:(HomeHttpInfoModelMenuModel *)selecHomeHttpInfoModelMenuModel callBack:(void (^)(BOOL))block;
-(BOOL)hasHomeHttpInfoModelMenuModel;
-(NSMutableArray *)allHomeHttpInfoModelMenuModel;
-(void)deleteHomeHttpInfoModelMenuModel:(void (^)(BOOL))block;


-(void)saveHomeHttpInfoModelTitleContentModel:(HomeHttpInfoModelTitleContentModel *)selecHomeHttpInfoModelTitleContentModel callBack:(void (^)(BOOL))block;
-(BOOL)hasHomeHttpInfoModelTitleContentModel:(NSString *)homeType;
-(NSMutableArray *)allHomeHttpInfoModelTitleContentModel:(NSString *)homeType;
-(void)deleteHomeHttpInfoModelTitleContentModel:(void (^)(BOOL))block;
@end
