shoc-backend/SeaHaven.Services/DTOs/EmployeeDTOs.cs
2026-04-28 18:55:14 -05:00

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; }
}
}