user.java
上传用户:sxlinghang
上传日期:2022-07-20
资源大小:1405k
文件大小:3k
源码类别:

数据库编程

开发平台:

Java

  1. package bookshop.book;
  2. /**
  3.  * <p>用户类 </p>
  4.  */
  5. public class user {
  6.         private long Id; //ID序列号
  7.         private String UserName; //购物用户名
  8.         private String PassWord;        //用户密码
  9.         private String Names; //用户联系用姓名
  10.         private String Sex; //用户性别
  11.         private String Address; //用户联系地址
  12.         private String Phone; //用户联系电话
  13.         private String Post; //用户联系邮编
  14.         private String Email;    //用户电子邮件
  15.         private String RegTime;  //用户注册时间
  16.         private String RegIpAddress; //用户注册时IP地址
  17.         public user() {
  18.                 Id = 0;
  19.                 UserName = "";
  20.                 PassWord = "";
  21.                 Names = "";
  22.                 Sex = "";
  23.                 Address = "";
  24.                 Phone = "";
  25.                 Post = "";
  26.                 Email = "";
  27.                 RegTime = "";
  28.                 RegIpAddress = "";
  29.         }
  30.     public long getId() {
  31.                 return Id;
  32.         }
  33.         public void setId(long newId) {
  34.                 this.Id = newId;
  35.         }
  36.         public String getUserName() {
  37.                 return UserName;
  38.         }
  39.         public void setUserName(String newUserName) {
  40.                 this.UserName = newUserName;
  41.         }
  42.         public String getPassWord() {
  43.                 return PassWord;
  44.         }
  45.         public void setPassWord(String newPassWord) {
  46.                 this.PassWord = newPassWord;
  47.         }
  48.         public String getNames() {
  49.                 return Names;
  50.         }
  51.         public void setNames(String newNames) {
  52.                 this.Names = newNames;
  53.         }
  54.         public String getSex() {
  55.                 return Sex;
  56.         }
  57.         public void setSex(String newSex) {
  58.                 this.Sex = newSex;
  59.         }
  60.         public String getAddress() {
  61.                 return Address;
  62.         }
  63.         public void setAddress(String newAddress) {
  64.                 this.Address = newAddress;
  65.         }
  66.         public String getPhone() {
  67.                 return Phone;
  68.         }
  69.         public void setPhone(String newPhone) {
  70.                 this.Phone = newPhone;
  71.         }
  72.         public String getPost() {
  73.                 return Post;
  74.         }
  75.         public void setPost(String newPost) {
  76.                 this.Post = newPost;
  77.         }
  78.         public String getEmail() {
  79.                 return Email;
  80.         }
  81.         public void setEmail(String newEmail) {
  82.                 this.Email = newEmail;
  83.         }
  84.         public String getRegTime() {
  85.                 return RegTime;
  86.         }
  87.         public void setRegTime(String newRegTime) {
  88.                 this.RegTime = newRegTime;
  89.         }
  90.         public String getRegIpAddress() {
  91.                 return RegIpAddress;
  92.         }
  93.         public void setRegIpAddress(String newRegIpAddress) {
  94.                 this.RegIpAddress = newRegIpAddress;
  95.         }
  96. }