2024-05-02 14:23:30 +04:00
|
|
|
|
using LawCompanyDatabaseImplement.Models;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
2024-05-01 02:32:04 +04:00
|
|
|
|
|
|
|
|
|
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();
|
|
|
|
|
}
|
|
|
|
|
}
|