26 lines
534 B
C#
26 lines
534 B
C#
using System;
|
|
|
|
namespace JD.Statistics
|
|
{
|
|
[AttributeUsage(AttributeTargets.Class | AttributeTargets.Property | AttributeTargets.Field, AllowMultiple=false, Inherited=true)]
|
|
public class CollectedAttribute : Attribute
|
|
{
|
|
public CollectedAttribute()
|
|
{
|
|
Collected = true;
|
|
TableName = string.Empty;
|
|
}
|
|
|
|
public bool Collected
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
|
|
public string TableName
|
|
{
|
|
get;
|
|
set;
|
|
}
|
|
}
|
|
}
|