using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.Linq;
using System.Text;

namespace Siger.Middlelayer.License.Models
{
    public class ExpiryTimeModel
    {
        public string Id { get; set; }

        public string Content { get; set; }

        public ExpiryTimeModel(string id, string content)
        {
            Id = id;
            Content = content;
        }
    }

    public enum ExpiryCategory
    {
        [Description("一个月")]
        OneMonth = 1,

        [Description("三个月")]
        ThreeMonth,

        [Description("六个月")]
        SixMonth,

        [Description("一年")]
        OneYear,

        [Description("两年")]
        TwoYear,

        [Description("三年")]
        ThreeYear,

        [Description("五年")]
        FiveYear,

        [Description("永不过期")]
        Never,
    }
}
