added model validation logic for component months and parts