PIbd-22_Fedorenko_Puchkina_.../LawFim/LawFirmDatabaseImplement/Models/HearingLawyer.cs
2024-04-27 21:24:12 +04:00

16 lines
368 B
C#

using System.ComponentModel.DataAnnotations;
namespace LawFirmDatabaseImplement.Models
{
public class HearingLawyer
{
public int Id { get; set; }
[Required]
public int HearingId { get; set; }
[Required]
public int LawyerId { get; set; }
public virtual Hearing Hearing { get; set; } = new();
public virtual Lawyer Lawyer { get; set; } = new();
}
}