16 lines
463 B
C#
16 lines
463 B
C#
using LawCompanyDatabaseImplement.Models;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace LawCompanyDatabaseImplement.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();
|
|
}
|
|
} |