2024-05-03 03:48:12 +04:00
|
|
|
|
using LawCompanyDatabaseImplement.Models;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-05-01 17:18:02 +04:00
|
|
|
|
|
|
|
|
|
namespace LawCompanyDatabaseImplement.Models
|
|
|
|
|
{
|
2024-05-01 17:41:34 +04:00
|
|
|
|
public class HearingLawyer
|
2024-05-01 17:18:02 +04:00
|
|
|
|
{
|
2024-05-01 17:41:34 +04:00
|
|
|
|
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();
|
2024-05-01 17:18:02 +04:00
|
|
|
|
}
|
2024-05-01 17:41:34 +04:00
|
|
|
|
}
|