diff --git a/GBase/Attributes/GBaseColumnAttribute.cs b/GBase/Attributes/GBaseColumnAttribute.cs index 58d7990..663fb7b 100644 --- a/GBase/Attributes/GBaseColumnAttribute.cs +++ b/GBase/Attributes/GBaseColumnAttribute.cs @@ -13,6 +13,11 @@ namespace GBase.Attributes [AttributeUsage(AttributeTargets.Property)] public class GBaseColumnAttribute : Attribute { - + public GBaseColumnAttribute(bool isKey = false) + { + IsKey = isKey; + } + + public bool IsKey { get; } } } \ No newline at end of file