mirror of
https://github.com/bitwarden/server.git
synced 2025-05-22 12:04:27 -05:00
Created LicenseVersionAttribute
This commit is contained in:
parent
3aa9812353
commit
5eec39c7f6
@ -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