Revise example code in introduction docs
Revise example code in introduction docs

Map salary as an integer instead of float. Add missing methods and type hints to model classes. Initialize collection properties with ArrayCollection instead of array.

danizord/mongodb-odm,stylehub/mongodb-odm,hyperunknown/mongodb-odm,stylehub/mongodb-odm,alcaeus/mongodb-odm,Soullivaneuh/mongodb-odm,ifunny/mongodb-odm,oswaldderiemaecker/mongodb-odm,notrix/mongodb-odm,doctrine/mongodb-odm,stylehub/mongodb-odm,rubenrua/mongodb-odm,alcaeus/mongodb-odm,waldihuber/mongodb-odm,malarzm/mongodb-odm,aheinz-sg/mongodb-odm,lyft/mongodb-odm,kevinyien/mongodb-odm,castarco/mongodb-odm,Xosofox/mongodb-odm,malarzm/mongodb-odm,solocommand/mongodb-odm,Briareos/mongodb-odm,coudenysj/mongodb-odm,jmikola/mongodb-odm,doctrine/mongodb-odm,Tony133/mongodb-odm