Computer_Hardware_Store/HardwareShop/HardwareShopDatabaseImplement/Models/BuildComponent.cs

27 lines
586 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace HardwareShopDatabaseImplement.Models
{
public class BuildComponent
{
public int BuildID { get; set; }
public int ComponentId { get; set; }
[Required]
public int Count { get; set; }
public virtual Build Build { get; set; } = new();
public virtual Component Component { get; set; } = new();
}
}