NanoidDotNet
This commit is contained in:
parent
fa0701f3aa
commit
22879c2f01
|
|
@ -12,7 +12,7 @@ namespace NejCommon.Models;
|
||||||
public partial class ApiKey : IApiKey
|
public partial class ApiKey : IApiKey
|
||||||
{
|
{
|
||||||
[AutoMapProperty("Response")]
|
[AutoMapProperty("Response")]
|
||||||
public string Id { get; set; } = Nanoid.Nanoid.Generate(size: 64);
|
public string Id { get; set; } = NanoidDotNet.Nanoid.Generate(size: 64);
|
||||||
[StandardText]
|
[StandardText]
|
||||||
[AutoMapProperty("Request")]
|
[AutoMapProperty("Request")]
|
||||||
public string Name { get; set; } = null!;
|
public string Name { get; set; } = null!;
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user