[code] add entities for database