PIbd-21_Markov_D.P._LawFirm/LawFirm/LawFirmDatabaseImplement/Models/DocumentBlank.cs

19 lines
506 B
C#
Raw Normal View History

2023-03-13 19:57:35 +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();
}
}