19 lines
516 B
C#
19 lines
516 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
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 Reinfordced { get; set; } = new();
|
|
}
|
|
|
|
}
|