This commit is contained in:
2025-04-29 21:11:49 -05:00
commit a7c02cf29f
12 changed files with 348 additions and 0 deletions

26
C968Project/Product.cs Normal file
View File

@@ -0,0 +1,26 @@
using System.ComponentModel;
namespace C968Project;
public class Product
{
public BindingList<Part> AssociatedParts { get; set; }
public int ProductId { get; set; }
public string Name { get; set; }
public float Price { get; set; }
public int InStock { get; set; }
public int Min { get; set; }
public int Max { get; set; }
public void AddAssociatedPart(Part part){}
public bool RemoveAssociatedPart(int partIndex)
{
return false;
}
public Part LookupAssociatedPart(int partIndex)
{
return null;
}
}