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

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

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

        /// <summary>
        /// 是否默认 1是  2否
        /// </summary>
        public int IsDefault { get; set; }

        /// <summary>
        /// 是否允许重复客户  1允许   2不允许
        /// </summary>
        public int IsAllowRepeat { get; set; }

        /// <summary>
        /// 部门ids
        /// </summary>
        public string DeptIds { get; set; }

        /// <summary>
        /// 员工ids
        /// </summary>
        public string EmpIds { get; set; }

        /// <summary>
        /// 回收类型  1手动回收   2自动回收
        /// </summary>
        public int RecyclingType { get; set; }

        /// <summary>
        /// 回收条件  存List<obj>
        /// </summary>
        public string RecycleCondition { get; set; }

        /// <summary>
        /// 免回收的时间段   List<obj>
        /// </summary>
        public string NotRecycleTime { get; set; }

        /// <summary>
        /// 提前几天提醒
        /// </summary>
        public int RemindDay { get; set; }

        /// <summary>
        /// 类型   1天   2小时   3分钟
        /// </summary>
        public int RemindType { get; set; }

        /// <summary>
        /// 回收到公海后，前负责人多少天不能领取
        /// </summary>
        public int LimitDay { get; set; }

        /// <summary>
        /// 私库限制
        /// </summary>
        public string PrivateLibraryLimit { get; set; }

        /// <summary>
        /// 占用私库的类型   多选英文逗号分隔
        /// </summary>
        public string PrivateLibraryType { 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; }

    }
}
