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 Sys_IVRConfigsLog : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// ivr配置id
        /// </summary>
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string ivrid { get; set; }
        /// <summary>
        /// 坐席组编号
        /// </summary>
        public string groupcode { get; set; }
        /// <summary>
        /// ivr名称（可根据组编号自动生成）
        /// </summary>
        public string ivrname { get; set; }
        /// <summary>
        /// ivr类型（1呼入，2满意度，3自动外呼）
        /// </summary>
        public int ivrtype { get; set; }
        /// <summary>
        /// ivr内容
        /// </summary>
        public string ivrcontent { get; set; }
        /// <summary>
        /// 是否启用（呼入流程默认开启）0不启用，1启用
        /// </summary>
        public int isenable { get; set; }
        /// <summary>
        /// 提交人 usercode
        /// </summary>
        public string optby { get; set; } = "";
        /// <summary>
        /// 提交时间
        /// </summary>
        public DateTime opttime { get; set; }
        /// <summary>
        /// 操作类型 add,update,del
        /// </summary>
        public string opttype { get; set; }
    }
}
