- //------------------------------------------------------------------------------
- // 创建标识: Copyright (C) 2009 Socansoft.com 版权所有
- // 创建描述: SocanCode代码生成器 V4.3.2.3 自动创建于 2009-11-15 20:10:33
- //
- // 功能描述:
- //
- // 修改标识:
- // 修改描述:
- //------------------------------------------------------------------------------
- using System;
- namespace Model
- {
- /// <summary>
- /// 实体类 Unit
- /// </summary>
- [Serializable]
- public class Unit
- {
- public Unit()
- { }
- /// <summary>
- /// 构造函数 Unit
- /// </summary>
- /// <param name="unitName">单位名称</param>
- /// <param name="telNo">电话</param>
- /// <param name="faxNo">传真</param>
- /// <param name="postNo">邮编</param>
- /// <param name="address">地址</param>
- /// <param name="url">网站</param>
- /// <param name="email">电子信箱</param>
- /// <param name="bankName">开户行</param>
- /// <param name="bankNo">账号</param>
- /// <param name="iD">ID</param>
- public Unit(string unitName, string telNo, string faxNo, string postNo, string address, string url, string email, string bankName, string bankNo, int iD)
- {
- _unitName = unitName;
- _telNo = telNo;
- _faxNo = faxNo;
- _postNo = postNo;
- _address = address;
- _url = url;
- _email = email;
- _bankName = bankName;
- _bankNo = bankNo;
- _iD = iD;
- }
- #region Model
- private string _unitName;
- private string _telNo;
- private string _faxNo;
- private string _postNo;
- private string _address;
- private string _url;
- private string _email;
- private string _bankName;
- private string _bankNo;
- private int _iD;
- /// <summary>
- /// 单位名称
- /// </summary>
- public string UnitName
- {
- set { _unitName = value; }
- get { return _unitName; }
- }
- /// <summary>
- /// 电话
- /// </summary>
- public string TelNo
- {
- set { _telNo = value; }
- get { return _telNo; }
- }
- /// <summary>
- /// 传真
- /// </summary>
- public string FaxNo
- {
- set { _faxNo = value; }
- get { return _faxNo; }
- }
- /// <summary>
- /// 邮编
- /// </summary>
- public string PostNo
- {
- set { _postNo = value; }
- get { return _postNo; }
- }
- /// <summary>
- /// 地址
- /// </summary>
- public string Address
- {
- set { _address = value; }
- get { return _address; }
- }
- /// <summary>
- /// 网站
- /// </summary>
- public string Url
- {
- set { _url = value; }
- get { return _url; }
- }
- /// <summary>
- /// 电子信箱
- /// </summary>
- public string Email
- {
- set { _email = value; }
- get { return _email; }
- }
- /// <summary>
- /// 开户行
- /// </summary>
- public string BankName
- {
- set { _bankName = value; }
- get { return _bankName; }
- }
- /// <summary>
- /// 账号
- /// </summary>
- public string BankNo
- {
- set { _bankNo = value; }
- get { return _bankNo; }
- }
- /// <summary>
- /// ID
- /// </summary>
- public int ID
- {
- set { _iD = value; }
- get { return _iD; }
- }
- #endregion Model
- }
- }