function mapValuePropertiesimport { mapValueProperties } from "https://deno.land/x/cotton@v0.7.5/src/utils/models.ts"; mapValueProperties(modelClass: Function,values: ModelDatabaseValues,to: "propertyKey" | "name",): ModelDatabaseValuesMap values from getValues to be compatible with model properties vice versa. ParametersmodelClass: Functionthe model class of those values. values: ModelDatabaseValuesthe model values. to: "propertyKey" | "name"the property naming convention you want to convert. ReturnsModelDatabaseValues