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