PIbd23_Ivanova_Yakobchuk_Co.../LawCompany/LawCompanyDatabaseImplement/Models/CaseClient.cs

16 lines
359 B
C#
Raw Normal View History

2024-05-01 02:32:04 +04:00
using System.ComponentModel.DataAnnotations;
namespace LawCompanyDatabaseImplement.Models
{
public class CaseClient
{
public int Id { get; set; }
[Required]
public int CaseId { get; set; }
[Required]
public int ClientId { get; set; }
public virtual Case Case { get; set; } = new();
public virtual Client Client { get; set; } = new();
}
}