[task] changed primary field type from primitive to wrapper
[task] added hashcode and equals
[cleanup] removed unnecessary @Column annotations
[task] removed unused interfaces and classes