using System.ComponentModel.DataAnnotations;

namespace WerksverkaufScanner.Data;

public class PreisAenderung
{
    [Key] public int Id { get; set; }

    public string FilialId { get; set; } = default!;

    public int ArtikelId { get; set; }
    public int ArtikelVariantenId { get; set; }
    public int Variante { get; set; }

    /// <summary>Preis in Cent (z. B. 599 = 5,99 €)</summary>
    public int PreisInCents { get; set; }

   public string Benutzer { get; set; } = default!;

    public DateTime CreatedAt { get; set; } = DateTime.UtcNow;
}
