display entity with gorm