26 lines
718 B
C#
26 lines
718 B
C#
using System;
|
|
using _0_Framework_b.Application;
|
|
|
|
namespace CompanyManagment.App.Contracts.EmployeeClientTemp;
|
|
|
|
public interface IEmployeeClientTempApplication
|
|
{
|
|
OperationResult Create(CreateEmployeeClientTemp command);
|
|
|
|
EmployeeClientTempGetDetailsViewModel GetDetails(long employeeId, long workshopId);
|
|
|
|
}
|
|
|
|
public class EmployeeClientTempGetDetailsViewModel
|
|
{
|
|
public long WorkshopId { get; set; }
|
|
public long EmployeeId { get; set; }
|
|
public string StartWorkDate { get; set; }
|
|
public string FName { get; set; }
|
|
public string LName { get; set; }
|
|
|
|
public string FullName => $"{FName} {LName}";
|
|
public string NationalCode { get; set; }
|
|
public string Nationality { get; set; }
|
|
|
|
} |