Model field definitions and default value of '0'

#845
Merge pull request #846 from demagu/develop

Model field definitions and default value of '0'