using MadRunFabric.Common;
using MongoDB.Bson.Serialization.Attributes;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Text;

namespace MadRunFabric.Model.CallCenterApi
{
    public class MW_Leave_Record : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }

        /// <summary>
        /// 通话唯一ID
        /// </summary>
        public string unique_id { get; set; }

        /// <summary>
        /// 留言时间
        /// </summary>
        public long leave_time { get; set; }

        /// <summary>
        /// 留言文件
        /// </summary>
        public string leave_file { get; set; }

        /// <summary>
        /// 主叫
        /// </summary>
        public string caller { get; set; }

        /// <summary>
        /// 被叫
        /// </summary>
        public string callee { get; set; }
    }
}
