Добавил UserId

This commit is contained in:
maxnes3 2023-04-01 19:39:50 +04:00
parent cae6726bda
commit 2fe6b9346e
16 changed files with 41 additions and 14 deletions

View File

@ -15,6 +15,8 @@ namespace CaseAccountingContracts.BindingModels
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -15,6 +15,8 @@ namespace CaseAccountingContracts.BindingModels
public DateTime Date { get; set; } = DateTime.SpecifyKind(DateTime.Now, DateTimeKind.Utc);
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -15,6 +15,8 @@ namespace CaseAccountingContracts.BindingModels
public int CaseId { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -19,6 +19,8 @@ namespace CaseAccountingContracts.BindingModels
public int SpecializationId { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -11,6 +11,8 @@ namespace CaseAccountingContracts.BindingModels
{
public string Name { get; set; } = string.Empty;
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -1,4 +1,7 @@
using System;
using CaseAccountingContracts.BindingModels;
using CaseAccountingContracts.SearchModels;
using CaseAccountingContracts.ViewModels;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
@ -6,7 +9,12 @@ using System.Threading.Tasks;
namespace CaseAccountingContracts.BusinessLogicContracts
{
internal interface ILawyerLogic
public interface ILawyerLogic
{
List<LawyerViewModel>? ReadList(LawyerSearchModel? model);
LawyerViewModel? ReadElement(LawyerSearchModel model);
bool Create(LawyerBindingModel model);
bool Update(LawyerBindingModel model);
bool Delete(LawyerBindingModel model);
}
}

View File

@ -16,6 +16,7 @@ namespace CaseAccountingContracts.ViewModels
public decimal Coast { get; set; }
[DisplayName("Дата подписания")]
public DateTime Date { get; set; }
public int Id { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -16,6 +16,7 @@ namespace CaseAccountingContracts.ViewModels
public string Responsibilities { get; set; } = string.Empty;
[DisplayName("Дата составления")]
public DateTime Date { get; set; }
public int Id { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -16,7 +16,7 @@ namespace CaseAccountingContracts.ViewModels
public DateTime Date { get; set; }
[DisplayName("Номер дела")]
public int CaseId { get; set; }
public int Id { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -21,6 +21,7 @@ namespace CaseAccountingContracts.ViewModels
public int SpecializationId { get; set; }
[DisplayName("Специализация")]
public string Specialization { get; set; } = string.Empty;
public int Id { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -12,6 +12,7 @@ namespace CaseAccountingContracts.ViewModels
{
[DisplayName("Название")]
public string Name { get; set; } = string.Empty;
public int Id { get; set; }
public int UserId { get; set; }
public int Id { get; set; }
}
}

View File

@ -11,5 +11,6 @@ namespace CaseAccountingDataModels.Models
string Service { get; }
decimal Coast { get; }
DateTime Date { get; }
}
int UserId { get; }
}
}

View File

@ -11,5 +11,6 @@ namespace CaseAccountingDataModels.Models
string Subject { get; }
string Responsibilities { get; }
DateTime Date { get; }
}
int UserId { get; }
}
}

View File

@ -10,6 +10,7 @@ namespace CaseAccountingDataModels.Models
{
string Information { get; }
DateTime Date { get; }
int CaseId { get; }
}
int CaseId { get; }
int UserId { get; }
}
}

View File

@ -13,5 +13,6 @@ namespace CaseAccountingDataModels.Models
string Patronymic { get; }
int Experience { get; }
int SpecializationId { get; }
}
int UserId { get; }
}
}

View File

@ -9,5 +9,6 @@ namespace CaseAccountingDataModels.Models
public interface ISpecializationModel : IId
{
string Name { get; }
}
int UserId { get; }
}
}