-
-
Save parzibyte/1c3561f7131e164afecacacac66b3307 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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