// AUTOGENERATED FILE - DO NOT MODIFY!
// This file generated by Djinni from extended_record.djinni

#import "DBRecordUsingExtendedRecord.h"


@implementation DBRecordUsingExtendedRecord

- (nonnull instancetype)initWithEr:(nonnull DBExtendedRecord *)er
{
    if (self = [super init]) {
        _er = er;
    }
    return self;
}

+ (nonnull instancetype)recordUsingExtendedRecordWithEr:(nonnull DBExtendedRecord *)er
{
    return [[self alloc] initWithEr:er];
}

+ (DBRecordUsingExtendedRecord * __nonnull)cr
{
    static DBRecordUsingExtendedRecord * const s_cr = [[DBRecordUsingExtendedRecord alloc] initWithEr:[[DBExtendedRecord alloc] initWithFoo:NO]];
    return s_cr;
}

- (NSString *)description
{
    return [NSString stringWithFormat:@"<%@ %p er:%@>", self.class, (void *)self, self.er];
}

@end
