mirror of
https://github.com/bitwarden/server
synced 2025-12-19 17:53:44 +00:00
encrypted string length attr
This commit is contained in:
@@ -1,6 +1,7 @@
|
||||
using System.ComponentModel.DataAnnotations;
|
||||
using Bit.Core.Enums;
|
||||
using Bit.Core.Models.Data;
|
||||
using Bit.Core.Utilities;
|
||||
|
||||
namespace Bit.Core.Models.Api
|
||||
{
|
||||
@@ -16,9 +17,9 @@ namespace Bit.Core.Models.Api
|
||||
}
|
||||
|
||||
public FieldType Type { get; set; }
|
||||
[StringLength(1000)]
|
||||
[EncryptedStringLength(1000)]
|
||||
public string Name { get; set; }
|
||||
[StringLength(1000)]
|
||||
[EncryptedStringLength(1000)]
|
||||
public string Value { get; set; }
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user