mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-07 16:19:07 +00:00
32 lines
924 B
C#
32 lines
924 B
C#
namespace SeaHaven.Services.DTOs
|
|
{
|
|
public class TaskListTemplateDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string? Name { get; set; }
|
|
public string? Description { get; set; }
|
|
public bool IsActive { get; set; }
|
|
public List<TaskListTemplateItemDTO> Items { get; set; } = new();
|
|
}
|
|
|
|
public class TaskListTemplateItemDTO
|
|
{
|
|
public int Id { get; set; }
|
|
public string? ItemText { get; set; }
|
|
public int SortOrder { get; set; }
|
|
}
|
|
|
|
public class TaskListTemplateInput
|
|
{
|
|
public string? Name { get; set; }
|
|
public string? Description { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
public List<TaskListTemplateInputItem> Items { get; set; } = new();
|
|
}
|
|
|
|
public class TaskListTemplateInputItem
|
|
{
|
|
public string? ItemText { get; set; }
|
|
public int SortOrder { get; set; }
|
|
}
|
|
}
|