// File to store DeltaV-specific database models
using System;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using Microsoft.EntityFrameworkCore;
namespace Content.Server.Database;
// ReSharper disable once InconsistentNaming
public static class DVModel
{
///
/// Stores tip dismissal preferences for a player, tracking which tips they've marked
/// as "Don't show again".
///
[Table("dv_seen_tips")]
[Index(nameof(PlayerUserId), nameof(TipProtoId), IsUnique = true)]
public class SeenTip
{
public int Id { get; set; }
///
/// The player's user ID (GUID). References the Player table.
///
public Guid PlayerUserId { get; set; }
///
/// The prototype ID of the tip that was dismissed.
///
[MaxLength(64)]
public string TipProtoId { get; set; } = string.Empty;
///
/// When the tip was dismissed.
///
public DateTime DismissedAt { get; set; }
}
}