You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
618 B
45 lines
618 B
![]()
2 years ago
|
//
|
||
|
// BaseModel.m
|
||
|
// ChineseAgri-businesses
|
||
|
//
|
||
|
// Created by ecell on 2022/6/29.
|
||
|
//
|
||
|
|
||
|
#import "BaseModel.h"
|
||
|
|
||
|
@implementation BaseModel
|
||
|
|
||
|
- (void)encodeWithCoder:(NSCoder *)aCoder
|
||
|
{
|
||
|
[self yy_modelEncodeWithCoder:aCoder];
|
||
|
}
|
||
|
|
||
|
- (id)initWithCoder:(NSCoder *)aDecoder
|
||
|
{
|
||
|
self = [super init];
|
||
|
return [self yy_modelInitWithCoder:aDecoder];
|
||
|
}
|
||
|
|
||
|
- (id)copyWithZone:(NSZone *)zone
|
||
|
{
|
||
|
return [self yy_modelCopy];
|
||
|
}
|
||
|
|
||
|
- (NSUInteger)hash
|
||
|
{
|
||
|
return [self yy_modelHash];
|
||
|
}
|
||
|
|
||
|
- (BOOL)isEqual:(id)object
|
||
|
{
|
||
|
return [self yy_modelIsEqual:object];
|
||
|
}
|
||
|
|
||
|
- (NSString *)description
|
||
|
{
|
||
|
return [self yy_modelDescription];
|
||
|
}
|
||
|
|
||
|
|
||
|
@end
|