using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace YBDevice.Entity
{
    /// <summary>
    /// 订阅状态定义
    /// </summary>
    public class SubscribeStatusConst
    {
        /// <summary>
        /// 同意
        /// </summary>
        public const string Accept = "ACCEPT";
        /// <summary>
        /// 拒绝
        /// </summary>
        public const string Reject = "REJECT";
        /// <summary>
        /// 已被后台封禁
        /// </summary>
        public const string Ban = "BAN";
        /// <summary>
        /// 被过滤
        /// </summary>
        public const string Filter = "FILTER";
    }
    /// <summary>
    /// 订阅关键字定义
    /// </summary>
    public class SubscribeKeyWordConst
    {
        /// <summary>
        /// 日期,格式yyyy/MM/dd
        /// </summary>
        public const string Date = "DATE";
        /// <summary>
        /// 时间,格式yyyy/MM/dd HH:mm:ss
        /// </summary>
        public const string DateTime = "DATETIME";
    }
    /// <summary>
    /// 消息订阅类型
    /// </summary>
    public class SubscribeTypeConst
    {
        /// <summary>
        /// 周
        /// </summary>
        public const int Week = 1;

        /// <summary>
        /// 周
        /// </summary>
        public const int Month = 2;

        /// <summary>
        /// 周
        /// </summary>
        public const int HalfYear = 3;

        /// <summary>
        /// 周
        /// </summary>
        public const int Year = 4;
    }
}
