namespace WebShop.Models
{
    public class ProductViewModel
    {
        public int ID { get; set; }
        public string? Name { get; set; }
        public string? Description { get; set; }
        public float Price { get; set; }

        public IFormFile? NewImage { get; set; }
        public byte[]? ExistingImage { get; set; } // For edit, this is needed
        public DateTime PackagingDate { get; set; }
        public DateTime ExpirationDate { get; set; }
    }
}
