Changes to models to enable adding SupplyDetail to the database