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

namespace MadRunFabric.Model
{
    /// <summary>
    /// 坐席组表
    /// </summary>
    public class Sys_SeatGroup : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }
        /// <summary>
        /// 坐席组编号
        /// </summary>
        public string zxzcode { get; set; } = "";
        /// <summary>
        /// 坐席组名称
        /// </summary>
        public string zxzname { get; set; } = "";
        /// <summary>
        /// ivr按键
        /// </summary>
        public int ivrkey { get; set; } = 0;
        /// <summary>
        /// 外呼本地前缀
        /// </summary>
        public string whbdkey { get; set; } = "";
        /// <summary>
        /// 外呼外地前缀
        /// </summary>
        public string whwdkey { get; set; } = "";
        /// <summary>
        /// 坐席组号
        /// </summary>
        public string outcallnum { get; set; } = "";
        /// <summary>
        /// 坐席所属地
        /// </summary>
        public string zxatt { get; set; } = "";
        /// <summary>
        /// 描述说明
        /// </summary>
        public string des { get; set; } = "";
        /// <summary>
        /// 
        /// </summary>
        public string createby { get; set; } = "";
        /// <summary>
        /// 是否删除：0未删除，1已删除
        /// </summary>
        public bool isdelete { get; set; } = false;
        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime createtime { get; set; } = DateTime.Now.ToLocalTime();
    }
}
