//
//  PrintQRData.m
//
//  Created by mac on 2019/3/26.
//  Copyright © 2019年 zyl. All rights reserved.
//

#import "PrintQRData.h"

@implementation PrintQRData

- (void)encodeWithCoder:(NSCoder *)encoder {
    [encoder encodeObject:self.textString forKey:@"textString"];
    [encoder encodeObject:self.alignmentString forKey:@"alignmentString"];
    [encoder encodeObject:self.fontString forKey:@"fontString"];
}

- (id)initWithCoder:(NSCoder *)decoder {
    if((self = [super init])) {
        self.textString = [decoder decodeObjectForKey:@"textString"];
        self.alignmentString = [decoder decodeObjectForKey:@"alignmentString"];
        self.fontString = [decoder decodeObjectForKey:@"fontString"];
    }
    return self;
}

@end
