mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-10-01 13:23:13 +00:00
33 lines
924 B
C#
33 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; }
|
||
|
|
}
|
||
|
|
}
|