diff --git a/TeamInfo.java b/TeamInfo.java new file mode 100644 index 0000000..6317e6f --- /dev/null +++ b/TeamInfo.java @@ -0,0 +1,61 @@ +package cn.fly.entity; + +public class TeamInfo { + private String id; + private String sno; + private String name; + private String sex; + private String tel; + + // Getter和Setter方法 + public String getId() { + return id; + } + + public void setId(String id) { + this.id = id; + } + + public String getSno() { + return sno; + } + + public void setSno(String sno) { + this.sno = sno; + } + + public String getName() { + return name; + } + + public void setName(String name) { + this.name = name; + } + + public String getSex() { + return sex; + } + + public void setSex(String sex) { + this.sex = sex; + } + + public String getTel() { + return tel; + } + + public void setTel(String tel) { + this.tel = tel; + } + + @Override + public String toString() { + return "TeamInfo{" + + "id='" + id + '\'' + + ", sno='" + sno + '\'' + + ", name='" + name + '\'' + + ", sex='" + sex + '\'' + + ", tel='" + tel + '\'' + + '}'; + } +} \ No newline at end of file