SUBD_Gerimovich_Ilya_PIbd-22/FurnitureAssembly/FurnitureAssemblyDatabaseImplement/Models/UsersKomment.cs

28 lines
604 B
C#
Raw Normal View History

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]
2024-05-24 14:23:37 +04:00
public int UsersId { get; set; }
2024-05-24 12:23:50 +04:00
[Required]
2024-05-24 14:23:37 +04:00
public int KommentId { get; set; }
2024-05-24 12:23:50 +04:00
[Required]
public int Count { get; set; }
2024-05-24 14:23:37 +04:00
public virtual Komment Komment { get; set; } = new();
2024-05-24 12:23:50 +04:00
2024-05-24 14:23:37 +04:00
public virtual Users Users { get; set; } = new();
2024-05-24 12:23:50 +04:00
}
}