employee.cs
来自「利用iBatis架构开发Web应用程序的初学实例。」· CS 代码 · 共 140 行
CS
140 行
using System;
using System.Collections.Generic;
using System.Text;
using System.Drawing;
namespace DaoProvider
{
public class Employee
{
private int m_intEmployeeID;
public int EmployeeID
{
get { return m_intEmployeeID; }
set { m_intEmployeeID = value; }
}
private string m_strLastName;
public string LastName
{
get { return m_strLastName; }
set { m_strLastName = value; }
}
private string m_strFirstName;
public string FirstName
{
get { return m_strFirstName; }
set { m_strFirstName = value; }
}
private string m_strTitle;
public string Title
{
get { return m_strTitle; }
set { m_strTitle = value; }
}
private string m_strTitleOfCourtesy;
public string TitleOfCourtesy
{
get { return m_strTitleOfCourtesy; }
set { m_strTitleOfCourtesy = value; }
}
private DateTime m_dteBirthDate;
public DateTime BirthDate
{
get { return m_dteBirthDate; }
set { m_dteBirthDate = value; }
}
private DateTime m_dteHireDate;
public DateTime HireDate
{
get { return m_dteHireDate; }
set { m_dteHireDate = value; }
}
private string m_strAddress;
public string Address
{
get { return m_strAddress; }
set { m_strAddress = value; }
}
private string m_strCity;
public string City
{
get { return m_strCity; }
set { m_strCity = value; }
}
private string m_strRegion;
public string Region
{
get { return m_strRegion; }
set { m_strRegion = value; }
}
private string m_strPostalCode;
public string PostalCode
{
get { return m_strPostalCode; }
set { m_strPostalCode = value; }
}
private string m_strCountry;
public string Country
{
get { return m_strCountry; }
set { m_strCountry = value; }
}
private string m_strHomePhone;
public string HomePhone
{
get { return m_strHomePhone; }
set { m_strHomePhone = value; }
}
private string m_strExtension;
public string Extension
{
get { return m_strExtension; }
set { m_strExtension = value; }
}
private Image m_imgPhoto;
public Image Photo
{
get { return m_imgPhoto; }
set { m_imgPhoto = value; }
}
private string m_strNotes;
public string Notes
{
get { return m_strNotes; }
set { m_strNotes = value; }
}
private int m_strReportsTo;
public int ReportsTo
{
get { return m_strReportsTo; }
set { m_strReportsTo = value; }
}
private string m_strPhotoPath;
public string PhotoPath
{
get { return m_strPhotoPath; }
set { m_strPhotoPath = value; }
}
}
}
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?