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_ChannelWeek_ViewModel : RB_WeChat_ChannelWeek
    {
        /// <summary>
        /// 员工列表
        /// </summary>
        public List<WeekEmpDeptModel> EmpList { get; set; }
        /// <summary>
        /// 部门列表
        /// </summary>
        public List<WeekEmpDeptModel> DeptList { get; set; }

        /// <summary>
        /// 活码ids
        /// </summary>
        public string ChannelIds { get; set; }
    }

    /// <summary>
    /// 周期人员 / 部门
    /// </summary>
    public class WeekEmpDeptModel { 
        /// <summary>
        /// 员工/部门id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 员工/部门名称
        /// </summary>
        public string Name { get; set; }

        /// <summary>
        /// 对应企业微信用户Id
        /// </summary>
        public string WorkUserId { get; set; }

        /// <summary>
        /// 对应企业微信部门id
        /// </summary>
        public int WorkDeptId { get; set; }
    }
}
