package com.jdon.simpleregister;import java.util.*;
import java.sql.*;public class Profile { private String userid = "";
public void setUserid(String userid) {
this.userid = userid;
}
public String getUserid() {
return userid;
} private String password = null;
public void setPassword(String password) {
this.password = password;
}
public String getPassword() {
return password;
} private String username = "";
public void setUsername(String username) {
this.username = username;
}
public String getUsername() {
return username;
} private String email = "";
public void setEmail(String email) {
this.email = email;
}
public String getEmail() {
return email;
} private int gender = 0;
public void setGender(int gender) {
this.gender = gender;
}
public int getGender() {
return gender;
} private int occupation = 0;
public void setOccupation(int occupation) {
this.occupation = occupation;
}
public int getOccupation() {
return occupation;
} private String location = "";
public void setLocation(String location) {
this.location = location;
}
public String getLocation() {
return location;
} private String city = "";
public void setCity(String city) {
this.city = city;
}
public String getCity() {
return city;
}
private int country = 0;
public void setCountry(int country) {
this.country = country;
}
public int getCountry() {
return country;
} private String zipcode = "";
public void setZipcode(String zipcode) {
this.zipcode = zipcode;
}
public String getZipcode() {
return zipcode;
} private String homephone = "";
public void setHomephone(String homephone) {
this.homephone = homephone;
}
public String getHomephone() {
return homephone;
} private String cardnumber = "";
public void setCardnumber(String cardnumber) {
this.cardnumber = cardnumber;
}
public String getCardnumber() {
return cardnumber;
} private String birthday = "";
public String getBirthday(){
birthday = new String(year + "-" + month + "-" + day);
return birthday;
}
public void setBirthday(String birthday){
this.birthday = birthday;
} private String day = "";
public void setDay(String day) {
this.day = day;
}
public String getDay() {
return day;
} private String year = "1900";
public void setYear(String year) {
this.year = year;
}
public String getYear() {
return year;
} private String month = "";
public void setMonth(String month) {
this.month = month;
}
public String getMonth() {
return month;
} private String regip = "";
public void setRegip(String regip) {
this.regip = regip;
}
public String getRegip() {
return regip;
} private String passwdanswer = "";
public void setPasswdanswer(String passwdanswer) {
this.passwdanswer = passwdanswer;
}
public String getPasswdanswer() {
return passwdanswer;
} private int passwdtype = 0;
public void setPasswdtype(int passwdtype) {
this.passwdtype = passwdtype;
}
public int getPasswdtype() {
return passwdtype;
}
}
import java.sql.*;public class Profile { private String userid = "";
public void setUserid(String userid) {
this.userid = userid;
}
public String getUserid() {
return userid;
} private String password = null;
public void setPassword(String password) {
this.password = password;
}
public String getPassword() {
return password;
} private String username = "";
public void setUsername(String username) {
this.username = username;
}
public String getUsername() {
return username;
} private String email = "";
public void setEmail(String email) {
this.email = email;
}
public String getEmail() {
return email;
} private int gender = 0;
public void setGender(int gender) {
this.gender = gender;
}
public int getGender() {
return gender;
} private int occupation = 0;
public void setOccupation(int occupation) {
this.occupation = occupation;
}
public int getOccupation() {
return occupation;
} private String location = "";
public void setLocation(String location) {
this.location = location;
}
public String getLocation() {
return location;
} private String city = "";
public void setCity(String city) {
this.city = city;
}
public String getCity() {
return city;
}
private int country = 0;
public void setCountry(int country) {
this.country = country;
}
public int getCountry() {
return country;
} private String zipcode = "";
public void setZipcode(String zipcode) {
this.zipcode = zipcode;
}
public String getZipcode() {
return zipcode;
} private String homephone = "";
public void setHomephone(String homephone) {
this.homephone = homephone;
}
public String getHomephone() {
return homephone;
} private String cardnumber = "";
public void setCardnumber(String cardnumber) {
this.cardnumber = cardnumber;
}
public String getCardnumber() {
return cardnumber;
} private String birthday = "";
public String getBirthday(){
birthday = new String(year + "-" + month + "-" + day);
return birthday;
}
public void setBirthday(String birthday){
this.birthday = birthday;
} private String day = "";
public void setDay(String day) {
this.day = day;
}
public String getDay() {
return day;
} private String year = "1900";
public void setYear(String year) {
this.year = year;
}
public String getYear() {
return year;
} private String month = "";
public void setMonth(String month) {
this.month = month;
}
public String getMonth() {
return month;
} private String regip = "";
public void setRegip(String regip) {
this.regip = regip;
}
public String getRegip() {
return regip;
} private String passwdanswer = "";
public void setPasswdanswer(String passwdanswer) {
this.passwdanswer = passwdanswer;
}
public String getPasswdanswer() {
return passwdanswer;
} private int passwdtype = 0;
public void setPasswdtype(int passwdtype) {
this.passwdtype = passwdtype;
}
public int getPasswdtype() {
return passwdtype;
}
}
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货