made Entity and Purchase variables final