mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-02 03:53:24 +00:00
49 lines
1.2 KiB
C#
49 lines
1.2 KiB
C#
|
|
namespace SeaHaven.Services.DTOs
|
||
|
|
{
|
||
|
|
public class UserListItemDTO
|
||
|
|
{
|
||
|
|
public string? Id { get; set; }
|
||
|
|
public string? UserName { get; set; }
|
||
|
|
public string? Email { get; set; }
|
||
|
|
public string? RoleName { get; set; }
|
||
|
|
public string? Status { get; set; }
|
||
|
|
public string? Date { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class PagedUsersResult
|
||
|
|
{
|
||
|
|
public List<UserListItemDTO> Users { get; set; } = new();
|
||
|
|
public int PageNumber { get; set; }
|
||
|
|
public int PageSize { get; set; }
|
||
|
|
public int TotalCount { get; set; }
|
||
|
|
public int TotalPages { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class RoleListItemDTO
|
||
|
|
{
|
||
|
|
public string? Id { get; set; }
|
||
|
|
public string? Name { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class SiteNameDTO
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
public string? Name { get; set; }
|
||
|
|
public string? Title { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class ContactListItemDTO
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
public string? Name { get; set; }
|
||
|
|
public string? Email { get; set; }
|
||
|
|
public string? Phone { get; set; }
|
||
|
|
}
|
||
|
|
|
||
|
|
public class CategoryListItemDTO
|
||
|
|
{
|
||
|
|
public int Id { get; set; }
|
||
|
|
public string? Name { get; set; }
|
||
|
|
}
|
||
|
|
}
|