📄 basemember.cs
字号:
/*****************************************************************************************************
*
* 作 者: 夏竹青
*
* 创建日期:2006-10-17
*
* 功能描述:基类,用户字段属性
*
*
* 处理过程:基类,用户字段属性
*
*
* 调用说明:在BusinessLayer层及DataLayer层中继承以及实例化,以使用其各属性
*
*
*************************************************************************************************/
using System;
namespace AbstractLayer
{
/// <summary>
/// Summary description for baseMember.
/// </summary>
public abstract class baseMember
{
private string _userId;//用户名
private string _passWord;//密码
private string _role;//权限
private string _userName;//真实姓名
private string _job;//职位
private string _contactNo;//联系电话
private string _emailAddress;//E-mail
private string _homeAddress;//家庭地址
private string _specify;//备注
//for userId
public string userId
{
get {return _userId;}
set
{
if(value !=_userId)
{
_userId = value;
}
}
}
//for passWord
public string passWord
{
get{return _passWord;}
set
{
if(value !=_passWord)
{
_passWord = value;
}
}
}
//for role
public string role
{
get{return _role;}
set
{
if(value !=_role)
{
_role = value;
}
}
}
//for userName
public string userName
{
get{return _userName;}
set
{
if(value !=_userName)
{
_userName = value;
}
}
}
//for job
public string job
{
get{return _job;}
set
{
if(value !=_job)
{
_job = value;
}
}
}
//for contactNo
public string contactNo
{
get{return _contactNo;}
set
{
if(value!=_contactNo)
{
_contactNo = value;
}
}
}
//for emailAddress
public string emailAddress
{
get{return _emailAddress;}
set
{
if(value!=_emailAddress)
{
_emailAddress = value;
}
}
}
//for homeAddress
public string homeAddress
{
get{return _homeAddress;}
set
{
if(value!=_homeAddress)
{
_homeAddress = value;
}
}
}
//for specialfy
public string specify
{
get{return _specify;}
set
{
if(value!=_specify)
{
_specify = value;
}
}
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -