2008-01-16 16:30
using System;
using System.Collections.Generic;
using System.Text;
namespace Buygo.Model
{
public class Member
{
private int _intMemberNumber = 0;
private string _strMemberID = null;
private string _strMemberName = null;
private string _strNickName = null;
private string _strSex = null;
private DateTime _dtBirthday;
private string _strMobilePhone = null;
private string _strTelephone = null;
private string _strQQ = null;
private string _strMSN = null;
private string _strEMail = null;
private string _strPaopao = null;
private string _strOther = null;
private string _strICQ = null;
private City _nativePlace = new City();
private int _intMsgID = -1;
public Member()
{ }
///
/// 会员信息
///
/// 会员号
/// 会员注册名
/// 性别
/// 出生日期
/// 籍贯
/// 手机
/// 电话
/// MSN
/// 泡泡
/// 其它
/// ICQ
public Member(int memberNumber, string memberName, string sex, DateTime birthday, City nativePlace, string mobilePhone, string telephone, string qq, string msn, string email, string paopao, string other, string icq)
{
this._intMemberNumber = memberNumber;
this._strMemberName = memberName;
this._strSex = sex;
this._dtBirthday = birthday;
this._nativePlace = nativePlace;
this._strMobilePhone = mobilePhone;
this._strTelephone = telephone;
this._strQQ = qq;
this._strMSN = msn;
this._strEMail = email;
this._strPaopao = paopao;
this._strOther = other;
this._strICQ = icq;
}
///
/// 会员信息
///
/// 会员编号
/// 会员注册名
/// 性别
/// 出生日期
/// 籍贯
public Member(string memberID, string memberName, string sex, DateTime birthday, City nativePlace)
{
this._strMemberID = memberID;
this._strMemberName = memberName;
this._strSex = sex;
this._dtBirthday = birthday;
this._nativePlace = nativePlace;
}
///
/// 会员信息
///
/// 会员编号
/// 会员注册名
/// 会员号
/// 会员昵称
/// 性别
/// 出生日期
/// 籍贯
public Member(string memberID, string memberName, int memberNumber, string nickName, string sex, City nativePlace)
{
this._strMemberID = memberID;
this._strMemberName = memberName;
this._intMemberNumber = memberNumber;
this._strNickName = nickName;
this._strSex = sex;
this._nativePlace = nativePlace;
}
///
/// 会员信息
///
/// 会员不存在是的提示消息编号
public Member(int msgID)
{
this._intMsgID = msgID;
}
///
/// 会员信息
///
/// 会员注册名
/// 性别
/// 出生日期
/// 籍贯
public Member(string membername, string sex, DateTime birthday, City nativeplace)
{
this._strMemberName = membername;
this._strSex = sex;
this._dtBirthday = birthday;
this._nativePlace = nativeplace;
}
///
/// 获取会员编号
///
public string MemberID
{
get { return this._strMemberID; }
}
///
/// 获取会员号
///
public int MemberNum
{
get { return this._intMemberNumber; }
}
///
/// 获取会员昵称
///
public string NickName
{
get { return this._strNickName; }
}
///
/// 会员注册名
///
public string MemberName
{
get
{
return this._strMemberName;
}
}
///
/// 性别
///
public string Sex
{
get
{
return this._strSex;
}
}
///
/// 出生日期
///
public DateTime Birthday
{
get
{
return this._dtBirthday;
}
}
///
/// 获取籍贯
///
public City NativePlace
{
get
{
return this._nativePlace;
}
}
///
/// 获取手机
///
public string MobilePhone
{
get
{
return this._strMobilePhone;
}
}
///
/// 获取电话号码
///
public string Telephone
{
get
{
return this._strTelephone;
}
}
///
/// 获取QQ
///
public string QQ
{
get
{
return this._strQQ;
}
}
///
/// 获取MSN
///
public string MSN
{
get
{
return this._strMSN;
}
}
///
/// 获取EMail
///
public string EMail
{
get
{
return this._strEMail;
}
}
///
/// 获取其它联系方式
///
public string Other
{
get
{
return this._strOther;
}
}
///
/// 获取ICQ
///
public string ICQ
{
get
{
return this._strICQ;
}
}
///
/// 获取泡泡
///
public string Paopao
{
get
{
return this._strPaopao;
}
}
///
/// 获取消息
///
public int MsgID
{
get { return this._intMsgID; }
}
}
}