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 Call_OutTaskFP : IBaseModel<string>
    {
        /// <summary>
        /// id
        /// </summary>
        [Key]
        [BsonRepresentation(MongoDB.Bson.BsonType.ObjectId)]
        public string id { get; set; }

        /// <summary>
        /// 任务ID
        /// </summary>
        public string taskid { get; set; }

        /// <summary>
        /// 分配坐席工号
        /// </summary>
        public string usercode { get; set; }

        /// <summary>
        /// 添加人工号
        /// </summary>
        public string createusercode { get; set; }

        /// <summary>
        /// 添加时间
        /// </summary>
        public DateTime? createtime { get; set; } = DateTime.Now;

        /// <summary>
        /// 删除标志：0正常，1删除
        /// </summary>
        public int? deleteflag { get; set; }

        /// <summary>
        /// 参与标志：0未参与，1参与
        /// </summary>
        public int joinflag { get; set; } = 0;
    }
}
