28 lines
629 B
C#
28 lines
629 B
C#
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Fitness_core_BE.DTOs.Staff
|
|
{
|
|
public class CreateStaffRequest
|
|
{
|
|
[Required]
|
|
public Guid ClientId { get; set; }
|
|
|
|
[Required]
|
|
public string UserName { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[EmailAddress]
|
|
public string Email { get; set; } = string.Empty;
|
|
|
|
[Required]
|
|
[Phone]
|
|
public string PhoneNumber { get; set; } = string.Empty;
|
|
|
|
public string? StaffPosition { get; set; }
|
|
|
|
public string? Department { get; set; }
|
|
|
|
public DateTime? HireDate { get; set; }
|
|
}
|
|
}
|