2023-04-07 16:35:57 +04:00
|
|
|
|
using System;
|
|
|
|
|
using System.Collections.Generic;
|
|
|
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
using System.Linq;
|
|
|
|
|
using System.Text;
|
|
|
|
|
using System.Threading.Tasks;
|
|
|
|
|
|
|
|
|
|
namespace CaseAccountingDataBaseImplement.Models
|
|
|
|
|
{
|
2023-04-08 22:41:27 +04:00
|
|
|
|
public class LawyerContract
|
2023-04-07 16:35:57 +04:00
|
|
|
|
{
|
|
|
|
|
public int Id { get; set; }
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int LawyerId { get; set; }
|
|
|
|
|
public virtual Lawyer Lawyer { get; set; } = new();
|
|
|
|
|
|
|
|
|
|
[Required]
|
|
|
|
|
public int ContractId { get; set; }
|
|
|
|
|
public virtual Contract Contract { get; set; } = new();
|
|
|
|
|
}
|
|
|
|
|
}
|