1. A computer-implemented method comprising: receiving a source file including a plurality of data records, each data record comprising a sequence of data segments associated with source data; identifying a target data structure comprising a plurality of target fields, based on a class associated with the target data structure, wherein the class represents a database table and previously defined methods of the class are used to determine which target fields exist; defining a mapping format comprising associations between each of the data segments for the plurality of data records and a target field of the plurality of target fields; processing the source data from each of the data segments of each of the plurality of data records to validate the source data from each of the data segments of the data records; and importing the source data from each of the data segments of each of the plurality of data records into the target field associated with each data segment based on the mapping format and the class.