basic domain class layout