求JAVA的一些源代码
JAVA初学者,基本的语法学的差不多了,求JAVA一些实例源代码,最好不要太难,几百行代码就可以了/50分悬赏....
JAVA初学者,基本的语法学的差不多了,求JAVA一些实例源代码,最好不要太难,几百行代码就可以了/50分悬赏.
展开
展开全部
这是一个实体类.
import java.util.Date;
/**
* UserInfo generated by MyEclipse Persistence Tools
*/
public class UserInfo implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private String password;
private String realname;
private String gender;
private String orgDept;
private Integer eduDegree;
private Integer country;
private Integer district;
private Integer phone;
private String email;
private String userRight;
private Date registerTime;
private String registerStatus;
private Date admitTime;
private String adminOper;
private Integer loginNum;
private Date loginLasttime;
private String loginLastIp;
// Constructors
/** default constructor */
public UserInfo() {
}
/** minimal constructor */
public UserInfo(String name, String password, String realname,
String orgDept, Integer phone, String email) {
this.name = name;
this.password = password;
this.realname = realname;
this.orgDept = orgDept;
this.phone = phone;
this.email = email;
}
/** full constructor */
public UserInfo(String name, String password, String realname,
String gender, String orgDept, Integer eduDegree, Integer country,
Integer district, Integer phone, String email, String userRight,
Date registerTime, String registerStatus, Date admitTime,
String adminOper, Integer loginNum, Date loginLasttime,
String loginLastIp) {
this.name = name;
this.password = password;
this.realname = realname;
this.gender = gender;
this.orgDept = orgDept;
this.eduDegree = eduDegree;
this.country = country;
this.district = district;
this.phone = phone;
this.email = email;
this.userRight = userRight;
this.registerTime = registerTime;
this.registerStatus = registerStatus;
this.admitTime = admitTime;
this.adminOper = adminOper;
this.loginNum = loginNum;
this.loginLasttime = loginLasttime;
this.loginLastIp = loginLastIp;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getRealname() {
return this.realname;
}
public void setRealname(String realname) {
this.realname = realname;
}
public String getGender() {
return this.gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getOrgDept() {
return this.orgDept;
}
public void setOrgDept(String orgDept) {
this.orgDept = orgDept;
}
public Integer getEduDegree() {
return this.eduDegree;
}
public void setEduDegree(Integer eduDegree) {
this.eduDegree = eduDegree;
}
public Integer getCountry() {
return this.country;
}
public void setCountry(Integer country) {
this.country = country;
}
public Integer getDistrict() {
return this.district;
}
public void setDistrict(Integer district) {
this.district = district;
}
public Integer getPhone() {
return this.phone;
}
public void setPhone(Integer phone) {
this.phone = phone;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getUserRight() {
return this.userRight;
}
public void setUserRight(String userRight) {
this.userRight = userRight;
}
public Date getRegisterTime() {
return this.registerTime;
}
public void setRegisterTime(Date registerTime) {
this.registerTime = registerTime;
}
public String getRegisterStatus() {
return this.registerStatus;
}
public void setRegisterStatus(String registerStatus) {
this.registerStatus = registerStatus;
}
public Date getAdmitTime() {
return this.admitTime;
}
public void setAdmitTime(Date admitTime) {
this.admitTime = admitTime;
}
public String getAdminOper() {
return this.adminOper;
}
public void setAdminOper(String adminOper) {
this.adminOper = adminOper;
}
public Integer getLoginNum() {
return this.loginNum;
}
public void setLoginNum(Integer loginNum) {
this.loginNum = loginNum;
}
public Date getLoginLasttime() {
return this.loginLasttime;
}
public void setLoginLasttime(Date loginLasttime) {
this.loginLasttime = loginLasttime;
}
public String getLoginLastIp() {
return this.loginLastIp;
}
public void setLoginLastIp(String loginLastIp) {
this.loginLastIp = loginLastIp;
}
}
import java.util.Date;
/**
* UserInfo generated by MyEclipse Persistence Tools
*/
public class UserInfo implements java.io.Serializable {
// Fields
private Integer id;
private String name;
private String password;
private String realname;
private String gender;
private String orgDept;
private Integer eduDegree;
private Integer country;
private Integer district;
private Integer phone;
private String email;
private String userRight;
private Date registerTime;
private String registerStatus;
private Date admitTime;
private String adminOper;
private Integer loginNum;
private Date loginLasttime;
private String loginLastIp;
// Constructors
/** default constructor */
public UserInfo() {
}
/** minimal constructor */
public UserInfo(String name, String password, String realname,
String orgDept, Integer phone, String email) {
this.name = name;
this.password = password;
this.realname = realname;
this.orgDept = orgDept;
this.phone = phone;
this.email = email;
}
/** full constructor */
public UserInfo(String name, String password, String realname,
String gender, String orgDept, Integer eduDegree, Integer country,
Integer district, Integer phone, String email, String userRight,
Date registerTime, String registerStatus, Date admitTime,
String adminOper, Integer loginNum, Date loginLasttime,
String loginLastIp) {
this.name = name;
this.password = password;
this.realname = realname;
this.gender = gender;
this.orgDept = orgDept;
this.eduDegree = eduDegree;
this.country = country;
this.district = district;
this.phone = phone;
this.email = email;
this.userRight = userRight;
this.registerTime = registerTime;
this.registerStatus = registerStatus;
this.admitTime = admitTime;
this.adminOper = adminOper;
this.loginNum = loginNum;
this.loginLasttime = loginLasttime;
this.loginLastIp = loginLastIp;
}
// Property accessors
public Integer getId() {
return this.id;
}
public void setId(Integer id) {
this.id = id;
}
public String getName() {
return this.name;
}
public void setName(String name) {
this.name = name;
}
public String getPassword() {
return this.password;
}
public void setPassword(String password) {
this.password = password;
}
public String getRealname() {
return this.realname;
}
public void setRealname(String realname) {
this.realname = realname;
}
public String getGender() {
return this.gender;
}
public void setGender(String gender) {
this.gender = gender;
}
public String getOrgDept() {
return this.orgDept;
}
public void setOrgDept(String orgDept) {
this.orgDept = orgDept;
}
public Integer getEduDegree() {
return this.eduDegree;
}
public void setEduDegree(Integer eduDegree) {
this.eduDegree = eduDegree;
}
public Integer getCountry() {
return this.country;
}
public void setCountry(Integer country) {
this.country = country;
}
public Integer getDistrict() {
return this.district;
}
public void setDistrict(Integer district) {
this.district = district;
}
public Integer getPhone() {
return this.phone;
}
public void setPhone(Integer phone) {
this.phone = phone;
}
public String getEmail() {
return this.email;
}
public void setEmail(String email) {
this.email = email;
}
public String getUserRight() {
return this.userRight;
}
public void setUserRight(String userRight) {
this.userRight = userRight;
}
public Date getRegisterTime() {
return this.registerTime;
}
public void setRegisterTime(Date registerTime) {
this.registerTime = registerTime;
}
public String getRegisterStatus() {
return this.registerStatus;
}
public void setRegisterStatus(String registerStatus) {
this.registerStatus = registerStatus;
}
public Date getAdmitTime() {
return this.admitTime;
}
public void setAdmitTime(Date admitTime) {
this.admitTime = admitTime;
}
public String getAdminOper() {
return this.adminOper;
}
public void setAdminOper(String adminOper) {
this.adminOper = adminOper;
}
public Integer getLoginNum() {
return this.loginNum;
}
public void setLoginNum(Integer loginNum) {
this.loginNum = loginNum;
}
public Date getLoginLasttime() {
return this.loginLasttime;
}
public void setLoginLasttime(Date loginLasttime) {
this.loginLasttime = loginLasttime;
}
public String getLoginLastIp() {
return this.loginLastIp;
}
public void setLoginLastIp(String loginLastIp) {
this.loginLastIp = loginLastIp;
}
}
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询