using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CallCenterApi.Model
{
    public partial class T_Msg_Chat
    {
        public T_Msg_Chat()
        { }
        #region Model
        private int _id;
        private string _content;
        private string _voiceurl;
        private DateTime? _createdate = DateTime.Now;
        private int? _fromuserid;
        private int? _touserid;
        private int? _toroleid;
        private int? _istoall;
        private int? _isdelete;
        /// <summary>
        /// Id
        /// </summary>
        public int Id
        {
            set { _id = value; }
            get { return _id; }
        }
        /// <summary>
        /// 及时通讯内容
        /// </summary>
        public string Content
        {
            set { _content = value; }
            get { return _content; }
        }
        /// <summary>
        /// 语音路径
        /// </summary>
        public string VoiceUrl
        {
            set { _voiceurl = value; }
            get { return _voiceurl; }
        }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime? CreateDate
        {
            set { _createdate = value; }
            get { return _createdate; }
        }
        /// <summary>
        /// 发送人Id
        /// </summary>
        public int? FromUserId
        {
            set { _fromuserid = value; }
            get { return _fromuserid; }
        }
        /// <summary>
        /// 接收人Id
        /// </summary>
        public int? ToUserId
        {
            set { _touserid = value; }
            get { return _touserid; }
        }
        /// <summary>
        /// 接收角色Id
        /// </summary>
        public int? ToRoleId
        {
            set { _toroleid = value; }
            get { return _toroleid; }
        }
        /// <summary>
        /// 是否群发(0不群发1群发)
        /// </summary>
        public int? IsToAll
        {
            set { _istoall = value; }
            get { return _istoall; }
        }
        /// <summary>
        /// 是否删除(0正常1已删除)
        /// </summary>
        public int? IsDelete
        {
            set { _isdelete = value; }
            get { return _isdelete; }
        }
        #endregion Model
    }
}
