PIbd-23-Lisov-N.A-SewingDre.../DressAtelierDatabaseImplement/Models/DressMaterial.cs
2023-03-23 18:32:47 +04:00

26 lines
634 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace DressAtelierDatabaseImplementation.Models
{
public class DressMaterial
{
public int ID { get; set; }
[Required]
public int DressID { get; set; }
[Required]
public int MaterialID { get; set; }
[Required]
public int Count { get; set; }
public virtual Material Material { get; set; } = new();
public virtual Dress Dress { get; set; } = new();
}
}