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

数据库编程

开发平台:

Java

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