forked from slavaxom9k/PIBD-23_Fomichev_V.S._MagicCarpet
31 lines
767 B
C#
31 lines
767 B
C#
using MagicCarpetContracts.Mapper;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MagicCarpetContracts.ViewModels;
|
|
|
|
public class EmployeeViewModel
|
|
{
|
|
[AlternativeName("EmployeeId")]
|
|
public required string Id { get; set; }
|
|
|
|
public required string FIO { get; set; }
|
|
|
|
public string Email { get; set; }
|
|
|
|
public required string PostId { get; set; }
|
|
|
|
public required string PostName { get; set; }
|
|
|
|
public bool IsDeleted { get; set; }
|
|
|
|
[PostProcessing(ActionType = PostProcessingType.ToLocalTime)]
|
|
public DateTime BirthDate { get; set; }
|
|
|
|
[PostProcessing(ActionType = PostProcessingType.ToLocalTime)]
|
|
public DateTime EmploymentDate { get; set; }
|
|
}
|