diff options
| author | crupest <crupest@outlook.com> | 2022-12-22 17:47:07 +0800 | 
|---|---|---|
| committer | crupest <crupest@outlook.com> | 2022-12-22 17:47:07 +0800 | 
| commit | 3469ac050b13b73d76f13dcbdfa77a1aefc49ae0 (patch) | |
| tree | 0fb74f6fb4e8603f9625a72ea82a06dbf72436e6 /docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets | |
| parent | b022122b0a697f063433d5fe525e536bd23e8372 (diff) | |
| download | crupest-3469ac050b13b73d76f13dcbdfa77a1aefc49ae0.tar.gz crupest-3469ac050b13b73d76f13dcbdfa77a1aefc49ae0.tar.bz2 crupest-3469ac050b13b73d76f13dcbdfa77a1aefc49ae0.zip | |
Develop secret api. v58
Diffstat (limited to 'docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets')
| -rw-r--r-- | docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs | 2 | 
1 files changed, 1 insertions, 1 deletions
| diff --git a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs index 1f00f9a..c3a4de0 100644 --- a/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs +++ b/docker/crupest-api/CrupestApi/CrupestApi.Commons/Secrets/SecretInfo.cs @@ -14,7 +14,7 @@ public class SecretInfo      public string Description { get; set; } = default!;      [Column(NotNull = false)]      public DateTime? ExpireTime { get; set; } -    [Column(NotNull = true)] +    [Column(NotNull = true, DefaultValue = false)]      public bool Revoked { get; set; }      [Column(NotNull = true)]      public DateTime CreateTime { get; set; } | 
