public class Student implements Serializable{

package com.tfy.heibernate.mangtoone;


import java.io.Serializable;
import java.util.Set;


public class Student implements Serializable{
private Long sid;
private String sname;
private Classes classes;
public Long getSid() {
return sid;
}
public void setSid(Long sid) {
this.sid = sid;
}
public String getSname() {
return sname;
}
public void setSname(String sname) {
this.sname = sname;
}
public Classes getClasses() {
return classes;
}
public void setClasses(Classes classes) {
this.classes = classes;
}



}

你可能感兴趣的:(Serializable)