15 lines
441 B
C#
15 lines
441 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace LawCompanyDatabaseImplement.Models
|
|
{
|
|
public class ConsultationLawyer
|
|
{
|
|
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();
|
|
}
|
|
} |