Feder -Boot -ID automatisch generiert

  @Id
  @GeneratedValue(strategy = GenerationType.IDENTITY)
  private Long id;
serhii.nahornyi