using System;
using System.Collections.Generic;
using System.Text;
using Edu.Common.Enum.Sale;
using Edu.Model.Entity.WeChat;

namespace Edu.Model.ViewModel.WeChat
{
    /// <summary>
    /// 企业微信客户阶段流程扩展类
    /// </summary>
    public class RB_WeChat_CustomerStageFlow_ViewModel : RB_WeChat_CustomerStageFlow
    {
        /// <summary>
        /// 阶段ID
        /// </summary>
        public int StageId { get; set; }

        /// <summary>
        /// 输单id
        /// </summary>
        public int LoseId { get; set; }

        /// <summary>
        /// 无效id
        /// </summary>
        public int InvalidId { get; set; }

        /// <summary>
        /// 阶段列表
        /// </summary>
        public List<string> StageList { get; set; }

        /// <summary>
        /// 部门/人员列表
        /// </summary>
        public List<DeptAndEmpModel> DeptEmpList { get; set; }
    }

    /// <summary>
    /// 部门+人员
    /// </summary>
    public class DeptAndEmpModel { 
        /// <summary>
        /// id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 类型  1部门  2人员
        /// </summary>
        public int Type { get; set; }
    }
}
