mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-03 04:33:31 +00:00
36 lines
1 KiB
C#
36 lines
1 KiB
C#
|
|
namespace Api.SeaHavenIndustries.DTOs
|
|||
|
|
{
|
|||
|
|
public class AddEmployee_DTO
|
|||
|
|
{
|
|||
|
|
public string FirstName { get; set; } = null!;
|
|||
|
|
public string LastName { get; set; } = null!;
|
|||
|
|
|
|||
|
|
public int? JobTitleId { get; set; }
|
|||
|
|
public int? PermissionGroupId { get; set; }
|
|||
|
|
|
|||
|
|
public string? Email { get; set; }
|
|||
|
|
public string? Phone { get; set; }
|
|||
|
|
public string? PhoneExtension { get; set; }
|
|||
|
|
|
|||
|
|
public string? Status { get; set; }
|
|||
|
|
public DateTime? LastLogin { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class EditEmployee_DTO : AddEmployee_DTO
|
|||
|
|
{
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
}
|
|||
|
|
|
|||
|
|
public class EmployeeListItem_DTO
|
|||
|
|
{
|
|||
|
|
public int Id { get; set; }
|
|||
|
|
public string Name { get; set; } = "";
|
|||
|
|
public string JobTitle { get; set; } = "";
|
|||
|
|
public string Role { get; set; } = "";
|
|||
|
|
public string? Email { get; set; }
|
|||
|
|
public string? Phone { get; set; }
|
|||
|
|
public string? Status { get; set; }
|
|||
|
|
public DateTime? LastLogin { get; set; }
|
|||
|
|
}
|
|||
|
|
}
|