src/app/core/import/column-mapping.ts
Mapping of a column from an import dataset to define how it should be imported exactly.
Properties |
|
| additional |
additional:
|
Type : any
|
| Optional |
|
details of data transformation or parsing into the property. e.g. date format to be parsed or key-value transformation map |
| column |
column:
|
Type : string
|
|
import data column header id |
| manuallyUpdated |
manuallyUpdated:
|
Type : boolean
|
| Optional |
|
This is used to track if the coloumns are manually updated or not. |
| propertyName |
propertyName:
|
Type : string
|
| Optional |
|
mapped entity property id |
export interface ColumnMapping {
/** import data column header id */
column: string;
/** mapped entity property id */
propertyName?: string;
/**
* details of data transformation or parsing into the property.
*
* e.g. date format to be parsed or key-value transformation map
*/
additional?: any;
/**
* This is used to track if the coloumns are manually updated or not.
*/
manuallyUpdated?: boolean;
}