using ComputerHardwareStoreDataModels.Models; using System.ComponentModel.DataAnnotations; using System.ComponentModel.DataAnnotations.Schema; namespace ComputerHardwareStoreDatabaseImplement.Models { public class Build : IBuildModel { public int Id { get; private set; } [Required] public string Name { get; private set; } = string.Empty; [Required] public double Price { get; set; } [Required] public int VendorId { get; private set; } public virtual Vendor Vendor { get; private set; } = new(); [ForeignKey("BuildId")] public Dictionary BuildComponents => throw new NotImplementedException(); } }