using System;
using VT.FW.DB;

namespace Edu.Model.Entity.Log
{
	/// <summary>
	/// 系统日志实体类
	/// </summary>
	[Serializable]
	[DB(ConnectionName = "LogConnection")]
	public class RB_MsgLog
    {
		/// <summary>
		/// 主键
		/// </summary>
		public long Id { get; set; }

		/// <summary>
		/// 推送标题
		/// </summary>
		public string Title { get; set; }

		/// <summary>
		/// 推送内容
		/// </summary>
		public string Content { get; set; }

		/// <summary>
		/// 封面图
		/// </summary>
		public string CoverImg { get; set; }

		/// <summary>
		/// 所属分类
		/// </summary>
		public int CategoryId { get; set; }

		/// <summary>
		/// 推送平台[1-手机端，2-Web端，3-短信，4-邮件]
		/// </summary>
		public int Platform { get; set; }

		/// <summary>
		/// 推送类型(0-立即推送,1-指定时间推送)
		/// </summary>
		public int SendType { get; set; }

		/// <summary>
		/// 推送时间
		/// </summary>
		public DateTime SendTime { get; set; }

		/// <summary>
		/// 接收人员
		/// </summary>
		public string ReceiveId { get; set; }

		/// <summary>
		/// 跳转地址
		/// </summary>
		public string JumpUrl { get; set; }

		/// <summary>
		/// 推送状态(0-未推送，1-已推送)
		/// </summary>
		public int Status { get; set; }

		/// <summary>
		/// 创建时间
		/// </summary>
		public DateTime CreateTime { get; set; }

		/// <summary>
		/// 创建人姓名
		/// </summary>
		public string CreateByName { get; set; }

		/// <summary>
		/// 平台编号
		/// </summary>
		public string AppId { get; set; }


		/// <summary>
		/// 短信模板代码
		/// </summary>
		public string MsgTemplateCode { get; set; }

		/// <summary>
		/// 短信签名
		/// </summary>
		public string MsgSign { get; set; }

		/// <summary>
		/// 是否已读(0-未读，1-已读)
		/// </summary>
		public int IsRead { get; set; }
	}
}
