Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.NoArgsConstructor;
import lombok.Setter;
import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.sql.Timestamp;
@Getter
@Table(name = "student")
@Entity
@Builder
@NoArgsConstructor
@AllArgsConstructor
public class StudentInfo {
@Id
@Column(name = "id")
String id;
@Column(name = "name")
String name;
@Column(name = "age")
String age;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment