Coursach/Course/DatabaseImplement/Models/DetailProduction.cs

24 lines
536 B
C#
Raw Normal View History

2024-04-21 20:36:07 +04:00
using System;
using System.Collections.Generic;
2024-04-23 22:34:09 +04:00
using System.ComponentModel.DataAnnotations;
2024-04-21 20:36:07 +04:00
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DatabaseImplement.Models
{
2024-04-23 22:34:09 +04:00
public class DetailProduction
2024-04-21 20:36:07 +04:00
{
2024-04-23 22:34:09 +04:00
public int Id { get; set; }
[Required]
public int DetailId { get; set; }
[Required]
public int ProductionId { get; set; }
[Required]
public int Count { get; set; }
public virtual Detail Detail { get; set; } = new();
public virtual Production Production { get; set; } = new();
2024-04-21 20:36:07 +04:00
}
}