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

24 lines
647 B
C#
Raw Permalink Normal View History

2024-04-07 17:24:16 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
2024-04-07 17:40:43 +04:00
using System.Diagnostics;
2024-04-07 17:24:16 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace SoftwareInstallationDatabaseImplement.Models
{
public class PackageComponent
2024-04-07 17:40:43 +04:00
{
2024-04-07 17:24:16 +04:00
public int Id { get; set; }
[Required]
2024-04-07 17:40:43 +04:00
public int SoftwareId { get; set; }
2024-04-07 17:24:16 +04:00
[Required]
public int ComponentId { get; set; }
[Required]
public int Count { get; set; }
public virtual Component Component { get; set; } = new();
2024-04-07 17:40:43 +04:00
public virtual Software Software { get; set; } = new();
2024-04-07 17:24:16 +04:00
}
}