37 lines
826 B
C#
37 lines
826 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.ComponentModel.DataAnnotations;
|
|
|
|
|
|
namespace FamilyTreeAPI.Entities;
|
|
|
|
public partial class StaffCriteria
|
|
{
|
|
|
|
public string Email { get; set; } = null!;
|
|
public string? FirstName { get; set; }
|
|
public string? LastName { get; set; }
|
|
|
|
}
|
|
public partial class StaffDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string? Phone { get; set; } = null!;
|
|
public string? Firstname { get; set; }
|
|
public string? Lastname { get; set; }
|
|
public string? Password { get; set; }
|
|
public string? Email { get; set; }
|
|
|
|
public int? Type { get; set; }
|
|
|
|
public bool? Active { get; set; }
|
|
public int? RoleType { get; set; }
|
|
}
|
|
|
|
|
|
public partial class ResetPassDto
|
|
{
|
|
public int Id { get; set; }
|
|
public string Password { get; set; } = null!;
|
|
|
|
} |