category entity and repository