             else
                 model[prop] = @modifyValueByPropName(prop, value)
 
+        if baseModel
+            for prop of ModelClass.properties
+                if not model[prop]?
+                    model[prop] ?= baseModel[prop]
+        else
+            model[prop] ?= undefined for prop of ModelClass.properties
 
 
         model = @afterCreateModel model


        ModelClass = @getModelClass()
        model = new ModelClass()
        model[prop] = undefined for prop of ModelClass.properties

        for own prop, value of obj


    constructor

    @constructor
    ###
    constructor: ->

