shopcartentity.cs
来自「ASP.NET 2.0动态网站设计实例源代码,本书介绍了ASP.NET2.0的基」· CS 代码 · 共 73 行
CS
73 行
///////////////////////////////////////////////////////////
// ShopcartEntity.cs
// Implementation of the Class ShopcartEntity
// Generated by Enterprise Architect
// Created on: 07-五月-2006 14:01:00
///////////////////////////////////////////////////////////
using System;
using System.Collections;
namespace BookShop.Entity {
/// <summary>
/// 购物车实体
/// </summary>
public class ShopcartEntity {
private Hashtable _Goods = null;
/// <summary>
/// 购物车ID
/// </summary>
private int _ID = -1;
/// <summary>
/// 会员ID
/// </summary>
private int _MemberID = -1;
public ShopcartEntity(){
Goods = new Hashtable();
}
~ShopcartEntity(){
}
public virtual void Dispose(){
}
public Hashtable Goods{
get{
return _Goods;
}
set{
_Goods = value;
}
}
/// <summary>
/// 会员ID
/// </summary>
public int MemberID{
get{
return _MemberID;
}
set{
_MemberID = value;
}
}
/// <summary>
/// 购物车ID
/// </summary>
public int ShopCartID{
get{
return _ID;
}
set{
_ID = value;
}
}
}//end ShopcartEntity
}//end namespace Entity
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?