欢迎光临
我们一直在努力

Asp.Net(C#)+Sql Server三层架构下数据存取方案(五)-.NET教程,Asp.Net开发

建站超值云服务器,限时71元/月

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

赞(0)
版权申明:本站文章部分自网络,如有侵权,请联系:west999com@outlook.com 特别注意:本站所有转载文章言论不代表本站观点! 本站所提供的图片等素材,版权归原作者所有,如需使用,请与原作者联系。未经允许不得转载:IDC资讯中心 » Asp.Net(C#)+Sql Server三层架构下数据存取方案(五)-.NET教程,Asp.Net开发
分享到: 更多 (0)