﻿using KernelRecordsMVC.Domain.Enums;

namespace KernelRecordsMVC.Models;

public class Modification
{
    public long ModificationId { get; set; }

    public long AdminId { get; set; }

    public DateTime DateModified { get; set; }

    public ModificationType TypeOfModification { get; set; }

    public decimal? Discount { get; set; }

    public Admin Admin { get; set; } = null!;

    public ICollection<ModificationProduct> ModificationProducts { get; set; }
        = new List<ModificationProduct>();
}