//
//  PeripheralModel.h
//  JXPrinterDemo
//
//  Created by 贾俊伟 on 2021/10/19.
//

#import <Foundation/Foundation.h>
#import <CoreBluetooth/CoreBluetooth.h>

NS_ASSUME_NONNULL_BEGIN

@interface PeripheralModel : NSObject

@property (nonatomic, strong) CBPeripheral *peripheral;
@property (nonatomic,   copy) NSString *address;
@property (assign, nonatomic) BOOL isSelected;

+ (PeripheralModel *)modelWithPeripheral:(CBPeripheral *)peripheral
                                 address:(NSString *)address
                              isSelected:(BOOL)isSelected;

@end

NS_ASSUME_NONNULL_END
