aboutsummaryrefslogtreecommitdiff
path: root/docker/crupest-api/CrupestApi/CrupestApi.Secrets/SecretInfo.cs
blob: 01aead7c7bedb33b07e9bda471b58be9afa490cb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
using CrupestApi.Commons.Crud;

namespace CrupestApi.Secrets;

public class SecretInfo
{
    [Column(NonNullable = true)]
    public string Key { get; set; } = default!;
    [Column(NonNullable = true)]
    public string Secret { get; set; } = default!;
    [Column(DefaultEmptyForString = true)]
    public string Description { get; set; } = default!;
    [Column(NonNullable = false)]
    public DateTime ExpireTime { get; set; }
    public bool Revoked { get; set; }
    public DateTime CreateTime { get; set; }
}