blob: 40cb230ac3731a673ea96a617652f387d8913861 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
|
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
namespace Timeline.Entities
{
[Table("jwt_token")]
public class JwtTokenEntity
{
[Column("id"), Key, DatabaseGenerated(DatabaseGeneratedOption.Identity)]
public long Id { get; set; }
[Required, Column("key")]
#pragma warning disable CA1819 // Properties should not return arrays
public byte[] Key { get; set; } = default!;
#pragma warning restore CA1819 // Properties should not return arrays
}
}
|