'use strict';
var BaseModel = require('model-toolkit').BaseModel;
var ProcessType = require('./process-type');
var Area = require('./fp-duration-estimation-area');

module.exports = class DurationEstimation extends BaseModel{
    constructor(source){
        super('fp-duration-estimation', '1.0.0');
  
        this.code = '';
        this.processTypeId={};
        this.processType=new ProcessType();
        this.areas = (this.areas || []).map(area => new Area(area));
        
        this.copy(source);
    }
};
@@ -501,16 +501,76 @@
 ource);%0A
+        this.processType=new ProcessType(this.processType);%0A
     %7D%0A%7D;

fix field fp duration estimation