feat: add CategoryId, Condition, Postage, ShippingCost, Aspects to SavedListing

This commit is contained in:
Peter Foster
2026-04-15 09:50:57 +01:00
parent e03fc0a49c
commit 52f257b5ad

View File

@@ -1,3 +1,4 @@
using System.Collections.Generic;
using EbayListingTool.Helpers; using EbayListingTool.Helpers;
namespace EbayListingTool.Models; namespace EbayListingTool.Models;
@@ -11,6 +12,11 @@ public class SavedListing
public decimal Price { get; set; } public decimal Price { get; set; }
public string Category { get; set; } = ""; public string Category { get; set; } = "";
public string ConditionNotes { get; set; } = ""; public string ConditionNotes { get; set; } = "";
public string CategoryId { get; set; } = "";
public ItemCondition Condition { get; set; } = ItemCondition.Used;
public PostageOption Postage { get; set; } = PostageOption.RoyalMailTracked48;
public decimal ShippingCost { get; set; }
public Dictionary<string, string> Aspects { get; set; } = new();
public string ExportFolder { get; set; } = ""; public string ExportFolder { get; set; } = "";
/// <summary>Absolute paths to photos inside ExportFolder.</summary> /// <summary>Absolute paths to photos inside ExportFolder.</summary>