package com.wt.beans; import java.sql.ResultSet; import java.sql.SQLException; public class Users { private int id; private String username; private String blogtitle; private String truename; private int sex; private int age; private String email; private int point; public int getPoint() { return point; } public void setPoint(int point) { this.point = point; } public int getId() { return id; } public void setId(int id) { this.id = id; } public String getUsername() { return username; } public void setUsername(String username) { this.username = username; } public String getBlogtitle() { return blogtitle; } public void setBlogtitle(String blogtitle) { this.blogtitle = blogtitle; } public String getTruename() { return truename; } public void setTruename(String truename) { this.truename = truename; } public int getSex() { return sex; } public void setSex(int sex) { this.sex = sex; } public int getAge() { return age; } public void setAge(int age) { this.age = age; } public String getEmail() { return email; } public void setEmail(String email) { this.email = email; } public void initFromRs(ResultSet rs) { try { this.setId(rs.getInt("id")); this.setUsername(rs.getString("username")); this.setBlogtitle(rs.getString("blogtitle")); this.setTruename(rs.getString("truename")); this.setSex(rs.getInt("sex")); this.setAge(rs.getInt("age")); this.setEmail(rs.getString("email")); this.setPoint(rs.getInt("point")); } catch (SQLException e) { e.printStackTrace(); } } }
最近下载更多
SQ2930501923 LV14
2022年10月1日
liu2022 LV14
2022年7月31日
爱写代码 LV12
2022年4月5日
蔡 LV10
2021年6月12日
云生123456 LV6
2021年6月8日
一瓶纯牛奶 LV3
2021年5月22日
iverysad LV1
2021年4月25日
jay1992 LV14
2021年1月2日
1043771029 LV1
2020年11月13日
15687890811 LV12
2020年11月10日
最近浏览更多
wttttts LV2
1月1日
asddwh LV12
2023年12月29日
2036495585 LV9
2023年10月6日
三十一 LV2
2023年6月28日
wanglongfei2 LV2
2023年6月15日
刘先生-OL LV13
2023年3月9日
yubuzhuo LV2
2023年2月27日
小赤0120 LV4
2022年12月20日
你们的代码都是我的了 LV16
2022年12月5日
y1214435276 LV9
2022年11月30日