c968-wgu-project/C968Project/Product.cs
2025-04-29 21:11:49 -05:00

26 lines
578 B
C#

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;
}
}