using Microsoft.AspNetCore.Http; using Nop.Web.Framework.Models; using System.ComponentModel.DataAnnotations; namespace Nop.Plugin.Misc.FruitBankPlugin.Areas.Admin.Models { public record CreateShippingModel { [Required] public DateTime ShippingDate { get; set; } = DateTime.Now; public string LicencePlate { get; set; } public bool IsAllMeasured { get; set; } = false; // Removed UploadedFiles since file upload happens only in edit mode } public class FileUploadResult { public bool Success { get; set; } public string FileName { get; set; } public string FilePath { get; set; } public string ErrorMessage { get; set; } public int FileSize { get; set; } public int DocumentId { get; set; } // For tracking the document ID after upload } }