asp.net|server|架构|数据using System;
using System.Data;
using System.Data.SqlClient;
using Town.Data;
using Town.Log;
using System.Collections;
namespace Town.Com
{
/// <summary>
/// 功能:积分类
/// 作者:Rexsp
/// 创建日期:2004-01-14
/// 修改者:
/// 修改日期:
/// </summary>
public class ScoreSetting
{
#region 私有成员
/// <summary>
/// 分值设置ID
/// </summary>
private int id=-1;
/// <summary>
/// 功能ID
/// </summary>
private int functionID=-1;
/// <summary>
/// 操作ID
/// </summary>
private int operationID=-1;
/// <summary>
/// 角色类型ID
/// </summary>
private int roleTypeID=-1;
/// <summary>
/// 版块类型ID
/// </summary>
private int bBSTypeID=-1;
/// <summary>
/// 积分
/// </summary>
private int score=-2000000000;
/// <summary>
/// 币币
/// </summary>
private int bB=-2000000000;
/// <summary>
/// 购买类型
/// </summary>
private int buyType=-1;
/// <summary>
/// 功能状态
/// </summary>
private int functionState=-1;
/// <summary>
/// 是否更新分值
/// </summary>
#endregion
#region 公有属性
/// <summary>
/// 积分设置DI
/// </summary>
public int ID
{
get{return id;}
set{id=value;}
}
/// <summary>
/// 功能ID
/// </summary>
public int FunctionID
{
get{return functionID;}
set{functionID=value;}
}
/// <summary>
/// 操作ID
/// </summary>
public int OperationID
{
get{return operationID;}
set{operationID=value;}
}
/// <summary>
/// 角色类型
/// </summary>
public int RoleTypeID
{
get{return roleTypeID;}
set{roleTypeID=value;}
}
/// <summary>
/// 版块类型
/// </summary>
public int BBSTypeID
{
get{return bBSTypeID;}
set{bBSTypeID=value;}
}
/// <summary>
/// 积分
/// </summary>
public int Score
{
get{return score;}
set{score=value;}
}
/// <summary>
/// 币币
/// </summary>
public int BB
{
get{return bB;}
set{bB=value;}
}
/// <summary>
/// 购买类型 0- 不是购买类型 1 - 一次性购买 2-反复购买
/// </summary>
public int BuyType
{
get{return buyType;}
set{buyType=value;}
}
/// <summary>
/// 购买状态:0-无此功能 1-有此功能 2-需要购买
/// </summary>
public int FunctionState
{
get{return functionState;}
set{functionState=value;}
}
#endregion
Asp.Net(C#)+Sql Server三层架构下数据存取方案(五)
80酷酷网 80kuku.com