created orm model for monitoring