c++ – Should a game object class contain the information for how to render it?

If I have a class called Enemy:

// Simplified version
class Enemy
{
    float xPosition_;
    float yPosition_;
    int hp_;
};

Should this class also contain the information needed to render an enemy?
Like in these two examples:

class Enemy
{
    float xPosition_;
    float yPosition_;
    int hp_;
    Model renderModel_;
};
class Enemy
{
public:
    void drawSelf(Window& window);
private:
    float xPosition_;
    float yPosition_;
    int hp_;
};

Or should the rendering information be inside a special renderEnemy function?

void renderEnemy(const Enemy& enemy)

Which is the better alternative?