added constraints on integer fields
Merge pull request #9 from bkng/master

added constraints on integer fields