SUBD_Gerimovich_Ilya_PIbd-22/FurnitureAssembly/FurnitureAssemblyDatabaseImplement/Models/UsersKomment.cs
platoff aeeee 2cefd91025 12
2024-05-24 13:05:47 +04:00

28 lines
616 B
C#

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace FurnitureAssemblyDatabaseImplement.Models
{
public class UsersKomment
{
public int Id { get; set; }
[Required]
public int FurnitureId { get; set; }
[Required]
public int WorkPieceId { get; set; }
[Required]
public int Count { get; set; }
public virtual Komment WorkPiece { get; set; } = new();
public virtual Users Furniture { get; set; } = new();
}
}