using Edu.Common.Enum;
using Edu.Common.Enum.Course;
using System;
using VT.FW.DB;

namespace Edu.Model.Entity.WeChat
{
    /// <summary>
    /// 企业微信配置实体类
    /// </summary>
    [Serializable]
    [DB(ConnectionName = "DefaultConnection")]
    public class RB_WeChat_Config
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

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

        /// <summary>
        /// 企业微信ID
        /// </summary>
        public string WX_CorpId { get; set; }

        /// <summary>
        /// 企业代码(企业统一社会信用代码)
        /// </summary>
        public string Social_Code { get; set; }

        /// <summary>
        /// 企业通讯录secret
        /// </summary>
        public string Employee_Secret { get; set; }        

        /// <summary>
        /// 企业外部联系人secret
        /// </summary>
        public string Contact_Secret { get; set; }

        /// <summary>
        /// 事件回调地址（通讯录）
        /// </summary>
        public string TelEvent_CallBack { get; set; }

        /// <summary>
        /// 回调token
        /// </summary>
        public string Token { get; set; }

        /// <summary>
        /// 回调消息加密串
        /// </summary>
        public string Encoding_Aes_Key { get; set; }

        /// <summary>
        /// 事件回调地址（外部人员）
        /// </summary>
        public string EmpEvent_CallBack { 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; }

        /// <summary>
        /// 是否启用  1是  其他否
        /// </summary>
        public int Enable { get; set; }

        /// <summary>
        /// 部门人员同步启用   1是
        /// </summary>
        public int DeptEmpEnable { get; set; }

    }
}
