28 lines
604 B
C#
28 lines
604 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 UsersId { get; set; }
|
|
|
|
[Required]
|
|
public int KommentId { get; set; }
|
|
|
|
[Required]
|
|
public int Count { get; set; }
|
|
|
|
public virtual Komment Komment { get; set; } = new();
|
|
|
|
public virtual Users Users { get; set; } = new();
|
|
}
|
|
}
|