Files
Backend-Api/CompanyManagment.App.Contracts/EmployeeClientTemp/IEmployeeClientTempApplication.cs
2025-04-27 14:20:16 +03:30

40 lines
1.1 KiB
C#

using System;
using System.Collections.Generic;
using System.Threading.Tasks;
using _0_Framework.Application;
namespace CompanyManagment.App.Contracts.EmployeeClientTemp;
public interface IEmployeeClientTempApplication
{
OperationResult Create(CreateEmployeeClientTemp command);
EmployeeClientTempGetDetailsViewModel GetDetails(long employeeId, long workshopId);
Task<List<EmployeeClientTempViewModel>> GetByEmployeeId(long employeeId);
}
public class EmployeeClientTempViewModel
{
public string EmployeeFullName { get; set; }
public long WorkshopId { get; set; }
public long EmployeeId { get; set; }
public DateTime StartWorkDate { get; set; }
public string MaritalStatus { get; set; }
}
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; }
}