@Id
@GeneratedValue(strategy = GenerationType.AUTO)
- private Long primaryKey;
+ private Long id;
@Version
private int version;
}
public AbstractAuthorizationRule(AbstractAuthorizationRule aRule) {
- primaryKey = aRule.primaryKey;
+ id = aRule.id;
version = aRule.version;
}
}