using PoJun.Dapper;
using System;
using System.Collections.Generic;
using System.Text;

namespace ASHermed.SinoInterface.Api.ContractModel.Online.Entity
{
    public class OnlineLinkingIM
    {
        /// <summary>
        /// 主键
        /// </summary>
        [Column("`Id`", ColumnKey.Primary, true)]
        public int Id { get; set; }
        /// <summary>
        /// 订单号
        /// </summary>
        public string OrderNo { get; set; }
        /// <summary>
        /// 患者ID
        /// </summary>
        public int PatId { get; set; }
        /// <summary>
        /// 是否为医生
        /// </summary>
        public bool IsDoctor { get; set; }
        /// <summary>
        /// 消息文本
        /// </summary>
        public string Content { get; set; }
        /// <summary>
        /// 消息类型
        /// </summary>
        public string MessageType { get; set; }
        /// <summary>
        /// 医生ID
        /// </summary>
        public int DocId { get; set; }
        /// <summary>
        /// 消息时间
        /// </summary>
        public DateTime TalkTime { get; set; }
        /// <summary>
        /// 消息来源类型名称
        /// </summary>
        public string TalkName { get; set; }
    }
}
