Unlock the power of synchronous microservices architecture with Spring Boot. Explore our comprehensive guide to building scalable
package com.heycolleagues.model;
import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
@Entity
public class Student {
@Id
@GeneratedValue(strategy = GenerationType.AUTO)
private Long studentId;
private String studentName;
private String studentAge;
public Long getStudentId() {
return studentId;
}
public void setStudentId(Long studentId) {
this.studentId = studentId;
}
public String getStudentName() {
return studentName;
}
public void setStudentName(String studentName) {
this.studentName = studentName;
}
public String getStudentAge() {
return studentAge;
}
public void setStudentAge(String studentAge) {
this.studentAge = studentAge;
}
public Student(Long studentId, String studentName, String studentAge) {
super();
this.studentId = studentId;
this.studentName = studentName;
this.studentAge = studentAge;
}
public Student() {
super();
// TODO Auto-generated constructor stub
}
}
See the Pen Cycling gradient glow - no text duplication by Ana Tudor (@thebabydino) on CodePen.
Thank you for visiting! Enjoy exploring our diverse collection of blogs, crafted with passion and insight to inspire and inform. Happy reading!