






#import "LowFontDidFourCell.h"
#import "AboveEndsAndInfo.h"
#import "Masonry.h"
#import "UIColor+MenColor.h"

@implementation LowFontDidFourCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor clearColor];
        
        self.clipsToBounds = YES;
        
        [self addSubview:self.tradFaxLabel];
        
        [self.tradFaxLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 4, 0, 0));
        }];
        
    }
    return self;
}

- (void)setModel:(AboveEndsAndInfo *)model
{
    _model = model;
    _tradFaxLabel.text = model.layerCountry;
    _tradFaxLabel.font = [UIFont systemFontOfSize:model.auditPageClearRopeDoubleTorque];
    _tradFaxLabel.textColor = [UIColor extendStrongestMinorMeanRunZoom:model.bankMinimizeValuePrimaryAppleCat];
    self.backgroundColor = [[UIColor extendStrongestMinorMeanRunZoom:model.physicalEditorsRawExpectingLineBuild] colorWithAlphaComponent:model.enclosingOpaqueCancelsBigWithinTerminate];
    self.layer.cornerRadius = 2;
}

- (UILabel *)tradFaxLabel {
    if (!_tradFaxLabel) {
        _tradFaxLabel = [[UILabel alloc] init];
        _tradFaxLabel.backgroundColor = [UIColor clearColor];
        _tradFaxLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _tradFaxLabel;
}

@end
