using System;
using System.Data;
namespace DSWeb.Models
{
public class MessageEntity
{
#region 私有成员
private string _gid;//主键惟一值
private string _name;//系统名称
private string _description;//中文名称或描述信息
private DateTime _create_time;//创建时间
private bool _is_read;//是否阅读
private int _read_count;//阅读次数
private string _message_content;//消息内容
private DateTime _last_readtime;//最后一次阅读时间
private string _receiver;//接收人
private int _type;//消息类型
private string _task_url;//任务URL地址
private string _task_id;//任务GID
private bool _is_delete;//删除标志位
private string _delete_user;//删除操作人
private DateTime _delete_time;//删除操作时间
#endregion
public MessageEntity()
{
}
#region 读写属性
///
/// 主键惟一值
///
public string GID
{
get { return _gid; }
set { _gid = value; }
}
///
/// 系统名称
///
public string Name
{
get { return _name; }
set { _name = value; }
}
///
/// 中文名称或描述信息
///
public string Description
{
get { return _description; }
set { _description = value; }
}
///
/// 创建时间
///
public DateTime CreateTime
{
get { return _create_time; }
set { _create_time = value; }
}
///
/// 是否阅读
///
public bool IsRead
{
get { return _is_read; }
set { _is_read = value; }
}
///
/// 阅读次数
///
public int ReadCount
{
get { return _read_count; }
set { _read_count = value; }
}
///
/// 消息内容
///
public string MessageContent
{
get { return _message_content; }
set { _message_content = value; }
}
///
/// 最后一次阅读时间
///
public DateTime LastReadTime
{
get { return _last_readtime; }
set { _last_readtime = value; }
}
///
/// 接收人
///
public string Receiver
{
get { return _receiver; }
set { _receiver = value; }
}
///
/// 消息类型
///
public int Type
{
get { return _type; }
set { _type = value; }
}
///
/// 任务URL地址
///
public string TaskUrl
{
get { return _task_url; }
set { _task_url = value; }
}
///
/// 任务GID
///
public string TaskID
{
get { return _task_id; }
set { _task_id = value; }
}
///
/// 删除标志位
///
public bool IsDelete
{
get { return _is_delete; }
set { _is_delete = value; }
}
///
/// 删除操作人
///
public string DeleteUser
{
get { return _delete_user; }
set { _delete_user = value; }
}
///
/// 删除操作时间
///
public DateTime DeleteTime
{
get { return _delete_time; }
set { _delete_time = value; }
}
#endregion
}
}