ISEbd-21_Putilin_P.A._Preca.../PrecastConcretePlant/PrecastConcretePlantDatabaseImplement/ShopReinforced.cs

21 lines
541 B
C#
Raw Normal View History

2023-05-09 13:11:44 +04:00
using PrecastConcretePlantDatabaseImplement.Models;
using System.ComponentModel.DataAnnotations;
namespace PrecastConcretePlantDatabaseImplement
{
public class ShopReinforced
{
public int Id { get; set; }
[Required]
public int ReinforcedId { get; set; }
[Required]
public int ShopId { get; set; }
[Required]
public int Count { get; set; }
public virtual Shop Shop { get; set; } = new();
public virtual Reinforced Reinforced { get; set; } = new();
}
}