This commit is contained in:
Елена Бакальская 2024-05-17 21:21:09 +04:00
parent 292685babe
commit 29047e8b5d

View File

@ -4,21 +4,16 @@ using System.Runtime.Serialization;
namespace SushiBarDatabaseImplement.Models
{
[DataContract]
public class SushiComponent
{
[DataMember]
public int Id { get; set; }
[DataMember]
[Required]
public int SushiId { get; set; }
[DataMember]
[Required]
public int ComponentId { get; set; }
[DataMember]
[Required]
public int Count { get; set; }