While It's not at all apparent how to enhance a immediate member entry like foo.num = num, You can easily augment your standard setter with an additional pressure parameter: I would favor to implement neither usually. The issue with properties is that they make the class less transparent. Specifically, this https://smartworldeveloper.in/smart-world-69-gurgaon-redefining-urban-luxury-living-in-sector-69/