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;
| }
|
| }
| }
|
|