YYModel

+ (NSDictionary *)modelCustomPropertyMapper {

    return @{

        @"identity":@[@"id",@"Id",@"identity"],

        @"owner":@[@"owner",@"Owner"],

        @"name":@[@"name",@"Name"],

        @"abbr":@[@"abbr",@"Abbr"],

        @"logo":@[@"logo",@"Logo"],

        @"createTime":@[@"createTime",@"CreateTime"],

        @"status":@[@"status",@"Status"],

        @"industryIds":@[@"industryIds",@"IndustryIds"],

        @"sizeId":@[@"sizeId",@"SizeId"],

        @"departments":@[@"departments",@"Departments"],

        @"personnels":@[@"personnels",@"Personnels"],

        @"face":@[@"face",@"Face"],

        @"ManagePermissions":@[@"ManagePermissions",@"managePermissions"],

        @"PersonnelHideConfigs":@[@"PersonnelHideConfigs",@"personnelHideConfigs"],

        @"certifiedStatus":@[@"certifiedStatus",@"CertifiedStatus"]

    };

}

 

+ (NSDictionary *)modelContainerPropertyGenericClass {

    return @{

        @"departments":[YHEnterpriseDepartmentModel class],

        @"personnels":[YHEnterprisePersonnelModel class],

        @"ManagePermissions":[YHEnterpriseManagePermissionModel class],

        @"PersonnelHideConfigs":[YHEnterpriseHidePersonnelModel class]

    };

}

上一篇:Oracle 19C学习 - 07. 使用联接从多个表中查询数据


下一篇:5_Web信息收集_搜索引擎_Zoomeye Hacking