首页 > 编程 > .NET > 正文

Asp.Net(C#)+Sql Server三层架构下数据存取方案(五)

2024-07-10 12:57:49
字体:
来源:转载
供稿:网友
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

发表评论 共有条评论
用户名: 密码:
验证码: 匿名发表