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]

    };

}

posted @ 2021-05-10 12:45  第三维  阅读(47)  评论(0编辑  收藏  举报