23 lines
609 B
C#
Raw Normal View History

2024-04-13 02:17:11 +04:00
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
namespace LawFirmDatabaseImplement.Models
{
2024-05-10 23:48:48 +04:00
public class DocumentComponent
2024-04-13 02:17:11 +04:00
{
public int Id { get; set; }
[Required]
2024-05-10 23:48:48 +04:00
public int DocumentId { get; set; }
2024-04-13 02:17:11 +04:00
[Required]
public int ComponentId { get; set; }
[Required]
public int Count { get; set; }
public virtual Component Component { get; set; } = new();
2024-05-10 23:48:48 +04:00
public virtual Document Document { get; set; } = new();
2024-04-13 02:17:11 +04:00
}
}