added validations to customer model. added database diagram