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_CustomerClueRule
    {
        /// <summary>
        /// Id
        /// </summary>
        public int Id { get; set; }

        /// <summary>
        /// 可放弃部分客户的查询类型   1并且   2或者
        /// </summary>
        public int RuleSelectType { get; set; }

        /// <summary>
        /// 限制内容   json格式
        /// </summary>
        public string RuleSelectValue { get; set; }

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

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

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

        /// <summary>
        /// 分配方式   1依次轮流   2随机分配
        /// </summary>
        public int RuleAllotWay { get; set; }

        /// <summary>
        /// 排序  越小的 优先级越高
        /// </summary>
        public int Sort { 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; }

    }
}
