21 lines
541 B
C#
21 lines
541 B
C#
|
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();
|
|||
|
}
|
|||
|
}
|