PIbd-23_Mochalov_D.V._LawFirm/LawFirm/LawFirmDatabaseImplement/Models/DocumentBlank.cs

24 lines
622 B
C#
Raw Normal View History

using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
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();
}
}