数据库中记录类

封装一个记录数据的类
package com.jdbc;
//个人信息记录类
public class user {
private String Id;
private String Name;
private String Sex;
private String Age;
private String Score;
private String Interest;
private String School;
public user(String Name, String Sex, String Age, String Score, String Interest, String School) {
super();
this.Id = null;
this.Name = Name;
this.Sex = Sex;
this.Age = Age;
this.Score = Score;
this.Interest = Interest;
this.School = School;
}
public String getId() {
return Id;
}
public void setId(String Id) {
this.Id = Id;
}
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 getAge() {
return Age;
}
public void setAge(String Age) {
this.Age = Age;
}
public String getScore() {
return Score;
}
public void setScore(String Score) {
this.Score = Score;
}
public String getInterest() {
return Interest;
}
public void setInterest(String Interest) {
this.Interest = Interest;
}
public String getSchool() {
return School;
}
public void setSchool(String School) {
this.School = School;
}

}

评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值