2024-05-24 12:23:50 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace FurnitureAssemblyDatabaseImplement.Models
|
|
|
|
|
{
|
2024-05-24 13:05:47 +04:00
|
|
|
|
public class UsersKomment
|
2024-05-24 12:23:50 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int FurnitureId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int WorkPieceId { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int Count { get; set; }
|
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
public virtual Komment WorkPiece { get; set; } = new();
|
2024-05-24 12:23:50 +04:00
|
|
|
|
|
2024-05-24 13:05:47 +04:00
|
|
|
|
public virtual Users Furniture { get; set; } = new();
|
2024-05-24 12:23:50 +04:00
|
|
|
|
}
|
|
|
|
|
}
|