Domain class, contains constructor, getter, and setter