catagoryentity.cs

来自「ASP.NET 2.0动态网站设计实例源代码,本书介绍了ASP.NET2.0的基」· CS 代码 · 共 73 行

CS
73
字号
///////////////////////////////////////////////////////////
//  CatagoryEntity.cs
//  Implementation of the Class CatagoryEntity
//  Generated by Enterprise Architect
//  Created on:      07-五月-2006 14:00:58
///////////////////////////////////////////////////////////




namespace BookShop.Entity
{
  /// <summary>
  /// 分类实体
  /// </summary>
  public class CatagoryEntity
  {
    /// <summary>
    /// 分类ID
    /// </summary>
    private int _ID = -1;
    /// <summary>
    /// 类型名
    /// </summary>
    private string _Name = null;
    /// <summary>
    /// 父类别ID
    /// </summary>
    private int _ParentID = -1;


    public int CatagoryID
    {
      get
      {
        return _ID;
      }
      set
      {
        _ID = value;
      }
    }

    public string CatagoryName
    {
      get
      {
        return _Name;
      }
      set
      {
        _Name = value;
      }
    }

    /// <summary>
    /// 父类别ID
    /// </summary>
    public int ParentID
    {
      get
      {
        return _ParentID;
      }
      set
      {
        _ParentID = value;
      }
    }

  }//end CatagoryEntity

}//end namespace Entity

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?