PIbd-22_Kozlova_A.A_Precast.../PrecastConcretePlant/PrecastConcretePlantDatabaseImplement/Models/ReinforcedComponent.cs

24 lines
631 B
C#
Raw Normal View History

2024-03-19 23:40:39 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace PrecastConcretePlantDatabaseImplement.Models
{
public class ReinforcedComponent
{
public int Id { get; set; }
[Required]
public int ReinforcedId { get; set; }
[Required]
public int ComponentId { get; set; }
[Required]
public int Count { get; set; }
public virtual Component Component { get; set; } = new();
public virtual Reinforced Reinforced { get; set; } = new();
}
}