ISEbd_21_Kuklew_M.I._Softwa.../SoftwareInstallationDatabaseImplement/Models/PackageComponent.cs

18 lines
502 B
C#
Raw Normal View History

2024-05-12 14:45:39 +04:00
using System.ComponentModel.DataAnnotations;
2024-04-07 17:24:16 +04:00
namespace SoftwareInstallationDatabaseImplement.Models
{
public class PackageComponent
2024-05-12 14:45:39 +04:00
{
2024-04-07 17:24:16 +04:00
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();
}
}