PIbd-23_Leonteva_V._A._LawFirm/LawFirm/LawFirmDatabaseImplement/Models/DocumentBlank.cs

18 lines
505 B
C#
Raw Permalink Normal View History

2024-04-23 12:07:00 +04:00
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
namespace LawFirmDatabaseImplement.Models
{
public class DocumentBlank
{
public int Id { get; set; }
[Required]
public int DocumentId { get; set; }
[Required]
public int BlankId { get; set; }
[Required]
public int Count { get; set; }
public virtual Blank Blank { get; set; } = new();
public virtual Document Document { get; set; } = new();
}
}