You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
164 lines
4.3 KiB
C#
164 lines
4.3 KiB
C#
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;//删除操作时间
|
|
private int _recv_type;//接收消息类型 1-系统消息 2-申请审核消息 3-审核完成消息
|
|
|
|
#endregion
|
|
|
|
public MessageEntity()
|
|
{
|
|
}
|
|
|
|
#region 读写属性
|
|
/// <summary>
|
|
/// 主键惟一值
|
|
/// </summary>
|
|
public string GID
|
|
{
|
|
get { return _gid; }
|
|
set { _gid = value; }
|
|
}
|
|
/// <summary>
|
|
/// 系统名称
|
|
/// </summary>
|
|
public string Name
|
|
{
|
|
get { return _name; }
|
|
set { _name = value; }
|
|
}
|
|
/// <summary>
|
|
/// 中文名称或描述信息
|
|
/// </summary>
|
|
public string Description
|
|
{
|
|
get { return _description; }
|
|
set { _description = value; }
|
|
}
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
public DateTime CreateTime
|
|
{
|
|
get { return _create_time; }
|
|
set { _create_time = value; }
|
|
}
|
|
/// <summary>
|
|
/// 是否阅读
|
|
/// </summary>
|
|
public bool IsRead
|
|
{
|
|
get { return _is_read; }
|
|
set { _is_read = value; }
|
|
}
|
|
/// <summary>
|
|
/// 阅读次数
|
|
/// </summary>
|
|
public int ReadCount
|
|
{
|
|
get { return _read_count; }
|
|
set { _read_count = value; }
|
|
}
|
|
/// <summary>
|
|
/// 消息内容
|
|
/// </summary>
|
|
public string MessageContent
|
|
{
|
|
get { return _message_content; }
|
|
set { _message_content = value; }
|
|
}
|
|
/// <summary>
|
|
/// 最后一次阅读时间
|
|
/// </summary>
|
|
public DateTime LastReadTime
|
|
{
|
|
get { return _last_readtime; }
|
|
set { _last_readtime = value; }
|
|
}
|
|
/// <summary>
|
|
/// 接收人
|
|
/// </summary>
|
|
public string Receiver
|
|
{
|
|
get { return _receiver; }
|
|
set { _receiver = value; }
|
|
}
|
|
/// <summary>
|
|
/// 消息类型
|
|
/// </summary>
|
|
public int Type
|
|
{
|
|
get { return _type; }
|
|
set { _type = value; }
|
|
}
|
|
/// <summary>
|
|
/// 任务URL地址
|
|
/// </summary>
|
|
public string TaskUrl
|
|
{
|
|
get { return _task_url; }
|
|
set { _task_url = value; }
|
|
}
|
|
/// <summary>
|
|
/// 任务GID
|
|
/// </summary>
|
|
public string TaskID
|
|
{
|
|
get { return _task_id; }
|
|
set { _task_id = value; }
|
|
}
|
|
/// <summary>
|
|
/// 删除标志位
|
|
/// </summary>
|
|
public bool IsDelete
|
|
{
|
|
get { return _is_delete; }
|
|
set { _is_delete = value; }
|
|
}
|
|
/// <summary>
|
|
/// 删除操作人
|
|
/// </summary>
|
|
public string DeleteUser
|
|
{
|
|
get { return _delete_user; }
|
|
set { _delete_user = value; }
|
|
}
|
|
/// <summary>
|
|
/// 删除操作时间
|
|
/// </summary>
|
|
public DateTime DeleteTime
|
|
{
|
|
get { return _delete_time; }
|
|
set { _delete_time = value; }
|
|
}
|
|
/// <summary>
|
|
/// 接收消息类型 1-系统消息 2-申请审核消息 3-审核完成消息
|
|
/// </summary>
|
|
public int RecvType
|
|
{
|
|
get { return _recv_type; }
|
|
set { _recv_type = value; }
|
|
}
|
|
#endregion
|
|
}
|
|
}
|