wyb
2021-05-11 49ce087bd2a34a150597e1cc1da157af242c0b6d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
 
namespace Jp.ApiCam.Infrastructures
{
    /// <summary>
    /// 版本控制特性
    /// </summary>
    public class VersionAttribute : Attribute
    {
        private string _version { get; set; }
        /// <summary>
        /// 关联Action
        /// </summary>
        public string AssociatedAction { get; set; }
 
        /// <summary>
        /// 构造函数
        /// </summary>
        /// <param name="version">版本号</param>        
        public VersionAttribute(string version)
        {
            _version = version;
        }
    }
}