Skip to content

Instantly share code, notes, and snippets.

@parzibyte
Created September 8, 2020 00:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save parzibyte/1c3561f7131e164afecacacac66b3307 to your computer and use it in GitHub Desktop.
Save parzibyte/1c3561f7131e164afecacacac66b3307 to your computer and use it in GitHub Desktop.
package me.parzibyte.api;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Alumno {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
public Long id;
public String nombre;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment