mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 19:13:13 +00:00
35 lines
1 KiB
C#
35 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; }
|
|
}
|
|
}
|