generated database classes