mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 07:13:12 +00:00
40 lines
1.3 KiB
C#
40 lines
1.3 KiB
C#
namespace SeaHaven.Services.DTOs
|
|
{
|
|
public class EmployeeDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Phone { get; set; }
|
|
public int? DepartmentId { get; set; }
|
|
public string? DepartmentName { get; set; }
|
|
public int? JobTitleId { get; set; }
|
|
public string? JobTitleName { get; set; }
|
|
public int? RegionId { get; set; }
|
|
public string? RegionName { get; set; }
|
|
public DateTime? CreatedDate { get; set; }
|
|
}
|
|
|
|
public class CreateEmployeeDTO
|
|
{
|
|
public required string FirstName { get; set; }
|
|
public required string LastName { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Phone { get; set; }
|
|
public int? DepartmentId { get; set; }
|
|
public int? JobTitleId { get; set; }
|
|
public int? RegionId { get; set; }
|
|
}
|
|
|
|
public class UpdateEmployeeDTO
|
|
{
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; }
|
|
public string? Email { get; set; }
|
|
public string? Phone { get; set; }
|
|
public int? DepartmentId { get; set; }
|
|
public int? JobTitleId { get; set; }
|
|
public int? RegionId { get; set; }
|
|
}
|
|
}
|