mirror of
https://github.com/bitwarden/server.git
synced 2025-06-12 14:10:35 -05:00
Created LicenseVersionAttribute
This commit is contained in:
parent
25d5efacd8
commit
78ce88138f
@ -0,0 +1,11 @@
|
||||
namespace Bit.Core.Billing.Licenses.Attributes;
|
||||
|
||||
[AttributeUsage(AttributeTargets.Property, AllowMultiple = false, Inherited = true)]
|
||||
public class LicenseVersionAttribute(int version) : Attribute
|
||||
{
|
||||
|
||||
/// <summary>
|
||||
/// The license version in which this property was added.
|
||||
/// </summary>
|
||||
public int Version { get; } = version;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user