using System;
using VT.FW.DB;

namespace Edu.Model.Entity.WeChat
{
    /// <summary>
    /// 企业微信渠道活码添加客户记录扩展类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_WeChat_ChannelRecord
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 渠道活码Id
        /// </summary>
        public int ChannelId { get; set; }

        /// <summary>
        /// 类型  1新增  2被客户删除/拉黑   3删除
        /// </summary>
        public int Type { get; set; }

        /// <summary>
        /// 人员Id
        /// </summary>
        public int EmpId { get; set; }

        /// <summary>
        /// 员工企业微信Id
        /// </summary>
        public string WorkEmpId { get; set; }

        /// <summary>
        /// 客户企业微信Id
        /// </summary>
        public string ExternalUserId { get; set; }

        /// <summary>
        /// 客户名称
        /// </summary>
        public string CustomerName { get; set; }

        /// <summary>
        /// 删除状态
        /// </summary>
        public int Status { get; set; }

        /// <summary>
        /// 集团编号
        /// </summary>
        public int Group_Id { get; set; }

        /// <summary>
        /// 创建人
        /// </summary>
        public int CreateBy { get; set; }

        /// <summary>
        /// 创建日期
        /// </summary>
        public DateTime CreateTime { get; set; }

        /// <summary>
        /// 修改人
        /// </summary>
        public int UpdateBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        public DateTime UpdateTime { get; set; }

    }
}
