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

namespace MadRunFabric.Model.CallCenterApi
{
    /// <summary>
    /// 坐席小休上报
    /// </summary>
    public class MW_Agent_Repose_Record : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }

        /// <summary>
        /// 坐席ID
        /// </summary>
        public int agent_id { get; set; }

        /// <summary>
        /// 开始时间 时间戳
        /// </summary>
        public long time_begin { get; set; }

        /// <summary>
        /// 结束时间 时间戳
        /// </summary>
        public long time_end { get; set; }

        /// <summary>
        /// 总时间
        /// </summary>
        public long repose_times { get; set; }
    }
}
