//
//  SLPageModel.m
//  SLAiELTS
//
//  Created by Gusont on 2023/3/9.
//

#import "SLPageModel.h"

@implementation SLPageModel

@end

@implementation SLPageModelDetail

+ (instancetype)initWithTitle:(NSString *)title
                      bgImage:(NSString *)bgImage {
    return [self initWithTitle:title subTitle:@"" bgImage:bgImage];
}

+ (instancetype)initWithTitle:(NSString *)title
                     subTitle:(NSString *)subTitle {
    return [self initWithTitle:title subTitle:subTitle bgImage:@""];
}

+ (instancetype)initWithTitle:(NSString *)title
                     subTitle:(NSString *)subTitle
                      bgImage:(NSString *)bgImage {
    SLPageModelDetail *detail = [[SLPageModelDetail alloc] init];
    detail.title = title;
    detail.subTitle = subTitle;
    detail.bgImage = bgImage;
    return detail;
}

@end
