mirror of
https://github.com/whoswhip/Sharpbin.git
synced 2026-12-06 02:48:43 +00:00
refactor: organize dtos by domain; verification providers use verification context; move ip parsing into http context extensions chore: clean code
14 lines
393 B
C#
14 lines
393 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace SharpbinV3.Server.Data.Entities
|
|
{
|
|
public class UserTotp
|
|
{
|
|
[Key]
|
|
public Guid UserUUID { get; set; }
|
|
public byte[] EncryptedSecret { get; set; } = null!;
|
|
public long CreatedAt { get; set; } = DateTimeOffset.UtcNow.ToUnixTimeMilliseconds();
|
|
public User User { get; set; } = null!;
|
|
}
|
|
}
|