Domain as entity