PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyDatabaseImplement/Models/ConsultationLawyer.cs

15 lines
441 B
C#
Raw Normal View History

using System.ComponentModel.DataAnnotations;
2024-05-01 17:18:02 +04:00
namespace LawCompanyDatabaseImplement.Models
{
public class ConsultationLawyer
2024-05-01 17:18:02 +04:00
{
public int Id { get; set; }
[Required]
public int ConsultationId { get; set; }
[Required]
public int LawyerId { get; set; }
public virtual Consultation Consultation { get; set; } = new();
public virtual Lawyer Lawyer { get; set; } = new();
2024-05-01 17:18:02 +04:00
}
}