using System;
using System.Data;
namespace DSWeb.Models
{
public class UserSessionEntity
{
#region 私有成员
private string _gid;//主键唯一值
private string _session_id;//Session GID
private DateTime _create_time;//创建时间
private string _create_user;//创建人
private bool _is_delete;//是否已停用
private DateTime _delete_time;//停用时间
private int _expires_minutes;//超时时间(分钟计算)
private int _type;//类型
#endregion
public UserSessionEntity()
{
}
#region 读写属性
///
/// 主键唯一值
///
public string GID
{
get { return _gid; }
set { _gid = value; }
}
///
/// Session GID
///
public string SessionID
{
get { return _session_id; }
set { _session_id = value; }
}
///
/// 创建时间
///
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
///
/// 创建人
///
public string CreateUser
{
get { return _create_user; }
set { _create_user = value; }
}
///
/// 是否已停用
///
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
///
/// 停用时间
///
public DateTime DeleteTime
{
get { return _delete_time; }
set { _delete_time = value; }
}
///
/// 超时时间(分钟计算)
///
public int ExpiresMinutes
{
get { return _expires_minutes; }
set { _expires_minutes = value; }
}
///
/// 类型
///
public int Type
{
get { return _type; }
set { _type = value; }
}
#endregion
}
}