ISEbd_21_Kuklew_M.I._Softwa.../SoftwareInstallationDatabaseImplement/Models/PackageComponent.cs
Максим Куклев 757c1ea0f0 загрузил
2024-05-12 14:45:39 +04:00

18 lines
502 B
C#

using System.ComponentModel.DataAnnotations;
namespace SoftwareInstallationDatabaseImplement.Models
{
public class PackageComponent
{
public int Id { get; set; }
[Required]
public int PackageId { get; set; }
[Required]
public int ComponentId { get; set; }
[Required]
public int Count { get; set; }
public virtual Component Component { get; set; } = new();
public virtual Package Package { get; set; } = new();
}
}