class EntityVersion implements Serializable {

    @Override
    public boolean equals(Object obj) {
        if (!(obj instanceof EntityVersion)) {
            return false;
        }
        EntityVersion o = (EntityVersion) obj;
        return new EqualsBuilder().append(o.getObjectId(), getObjectId()).append(o.getVersionId(), getVersionId())
                .append(o.getObjectClass(), getObjectClass()).isEquals();
    }

    public  EntityVersion();
    public  EntityVersion(int objectId, int versionId, @Nonnull Class<? extends BaseEntity> objectClass);

}