import javax.persistence.Entity;
import javax.persistence.GeneratedValue;
import javax.persistence.GenerationType;
import javax.persistence.Id;
import javax.persistence.SequenceGenerator;
import javax.persistence.Table;

@Entity
@Table(name = "Student")
public class Student
{
	@Id
	@GeneratedValue(strategy=GenerationType.SEQUENCE)  
	@SequenceGenerator(name="student_sequence")
    private int student_id;
    private String student_name;
    private int student_age;
    
    public int getStudent_id()
    {
        return student_id;
    }
    public String getStudent_name()
    {
        return student_name;
    }
    public int getStudent_age()
    {
        return student_age;
    }
    public void setStudent_id(int id)
    {
        this.student_id = id;
    }
    public void setStudent_name(String name)
    {
        this.student_name = name;
    }
    public void setStudent_age(int age)
    {
        this.student_age = age;
    } 
}
最近下载更多
qinjielan  LV12 2018年5月18日
最近浏览更多
小小虎牙妹  LV4 2023年3月14日
trycode 2022年1月25日
暂无贡献等级
503382513  LV10 2020年7月11日
jimshao289015254  LV9 2020年6月23日
dashan606  LV8 2020年6月8日
一念永恒  LV4 2020年5月28日
zjjhzjb  LV14 2020年2月5日
y00y00  LV10 2020年2月4日
jaonsang  LV25 2020年1月19日
aaa111asdfasdf  LV2 2019年11月4日
顶部 客服 微信二维码 底部
>扫描二维码关注最代码为好友扫描二维码关注最代码为好友