import { DateDataDefinition } from "../../../Common/Data/Definitions/DateDataDefinition";
import { NumberDataDefinition } from "../../../Common/Data/Definitions/NumberDataDefinition";
import { ObjectDataDefinition } from "../../../Common/Data/Definitions/ObjectDataDefinition";
import { StringDataDefinition } from "../../../Common/Data/Definitions/StringDataDefinition";
import { XDataDefinition } from "../../../Common/Data/XDataDefinition";
import { XMappingDefinition } from "../XMappingDefinition";
export const getMappingDataDefinition = () => {
    let definition = new XMappingDefinition();
    let idatadef = new XDataDefinition();
    idatadef.fields.push(new NumberDataDefinition("expectedHours"));
    idatadef.fields.push(new NumberDataDefinition("spentHours"));
    idatadef.fields.push(new NumberDataDefinition("totalBudget"));
    let developer = new ObjectDataDefinition("developer1");
    developer.fields.push(new StringDataDefinition("firstName"));
    developer.fields.push(new StringDataDefinition("lastName"));
    developer.fields.push(new NumberDataDefinition("hourlyRate"));
    developer.fields.push(new NumberDataDefinition("totalWorkingHours"));
    idatadef.fields.push(developer);
    developer = new ObjectDataDefinition("developer2");
    developer.fields.push(new StringDataDefinition("firstName"));
    developer.fields.push(new StringDataDefinition("lastName"));
    developer.fields.push(new NumberDataDefinition("hourlyRate"));
    developer.fields.push(new NumberDataDefinition("totalWorkingHours"));
    idatadef.fields.push(developer);
    definition.inputData = idatadef;
    let odatadef = new XDataDefinition();
    odatadef.fields.push(new NumberDataDefinition("spentMoney"));
    odatadef.fields.push(new NumberDataDefinition("remainedMoney"));
    odatadef.fields.push(new NumberDataDefinition("spentTotalHours"));
    odatadef.fields.push(new DateDataDefinition("expectedLaunchDate"));
    let owner = new ObjectDataDefinition("owner");
    owner.fields.push(new StringDataDefinition("name"));
    odatadef.fields.push(owner);
    definition.executionResult = odatadef;
    return definition;
};
//# sourceMappingURL=TestDataSetup.js.map