Entity expresses a class that embodies the information about an application, well, ‘entity’. They model system resources which have identities.

class Customer {

   public function __construct($name) {
     $this->name = name;
   }

  getName(){
    return $this->name;
  }

  getId() {
    return $this->id;
  }

}

This is an entity because it reflects a uniquely identifiable resource from the system.