tangxu
2024-02-27 707a73304e0406b865548645c7cd1880a3651cc4
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
29
30
31
using System;
 
namespace IStation.Model
{
    /// <summary>
    /// 对象类型
    /// </summary>
    [AttributeUsage(AttributeTargets.Class, Inherited = true)]
    public class ObjectTypeAttribute : Attribute
    {
        /// <summary>
        /// 对象类型
        /// </summary>
        public string ObjectType { get; set; }
 
 
        private ObjectTypeAttribute()
        {
 
        }
 
        /// <summary>
        /// 
        /// </summary>
        public ObjectTypeAttribute(string objectType)
        {
            ObjectType = objectType;
        }
 
    }
}