18 lines
476 B
C#
18 lines
476 B
C#
using Microsoft.EntityFrameworkCore.Metadata.Internal;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace DamageAssesment.Api.UsersAccess.Db
|
|
{
|
|
public class Token
|
|
{
|
|
[Key]
|
|
public string Id { get; set; }
|
|
[Required]
|
|
[ForeignKey("User")]
|
|
public int UserId { get; set; }
|
|
public string? RefreshToken { get; set; }
|
|
public bool? IsActive { get; set; }
|
|
}
|
|
}
|