UserInfo.cs
上传用户:gooyliu
上传日期:2018-09-29
资源大小:5816k
文件大小:3k
源码类别:

.net编程

开发平台:

C#

  1. using System;
  2. using System.Collections.Generic;
  3. using System.Text;
  4. namespace Model
  5. {
  6.     public class UserInfo
  7.     {
  8.         private string _userID;
  9.         private string _userName;
  10.         private string _usePassword;
  11.         private bool _gender;
  12.         private string _userDepartment;
  13.         private string _userAddress;
  14.         private string _userPhone;
  15.         private DateTime  _userBirthdate;
  16.         private int _roleID;
  17.         public UserInfo()
  18.         {
  19.         }
  20.         #region 属性
  21.         public string UserID
  22.         {
  23.             set
  24.             {
  25.                 this._userID = value;
  26.             }
  27.             get
  28.             {
  29.                 return this._userID;
  30.             }
  31.         }
  32.         public string UserName
  33.         {
  34.             set
  35.             {
  36.                 this._userName = value;
  37.             }
  38.             get
  39.             {
  40.                 return this._userName;
  41.             }
  42.         }
  43.         public string UserPassword
  44.         {
  45.             set
  46.             {
  47.                 this._usePassword = value;
  48.             }
  49.             get
  50.             {
  51.                 return this._usePassword;
  52.             }
  53.         }
  54.         public bool Gender
  55.         {
  56.             set
  57.             {
  58.                 this._gender = value;
  59.             }
  60.             get
  61.             {
  62.                 return this._gender;
  63.             }
  64.         }
  65.         public string UserDepartment
  66.         {
  67.             set
  68.             {
  69.                 this._userDepartment = value;
  70.             }
  71.             get
  72.             {
  73.                 return this._userDepartment;
  74.             }
  75.         }
  76.         public string UserAddress
  77.         {
  78.             set
  79.             {
  80.                 this._userAddress = value;
  81.             }
  82.             get
  83.             {
  84.                 return this._userAddress;
  85.             }
  86.         }
  87.         public string UserPhone
  88.         {
  89.             set
  90.             {
  91.                 this._userPhone = value;
  92.             }
  93.             get
  94.             {
  95.                 return this._userPhone;
  96.             }
  97.         }
  98.         public DateTime  UserBirthdate
  99.         {
  100.             set
  101.             {
  102.                 this._userBirthdate = value;
  103.             }
  104.             get
  105.             {
  106.                 return this._userBirthdate;
  107.             }
  108.         }
  109.         public int  RoleID
  110.         {
  111.             set
  112.             {
  113.                 this._roleID = value;
  114.             }
  115.             get
  116.             {
  117.                 return this._roleID;
  118.             }
  119.         }
  120.       #endregion
  121.     }
  122. }