mirror of
https://github.com/Sea-Haven-Industries/shoc-backend.git
synced 2026-09-30 09:33:13 +00:00
- TaskListTemplate and TaskListTemplateItem models - TaskListTemplateController: list, get by ID, create with items, update (replace items), soft delete - Migration for new tables
16 lines
453 B
C#
16 lines
453 B
C#
namespace Api.SeaHavenIndustries.DTOs
|
|
{
|
|
public class TaskListTemplate_DTO
|
|
{
|
|
public string? Name { get; set; }
|
|
public string? Description { get; set; }
|
|
public bool IsActive { get; set; } = true;
|
|
public List<TaskListTemplateItem_DTO> Items { get; set; } = new();
|
|
}
|
|
|
|
public class TaskListTemplateItem_DTO
|
|
{
|
|
public string? ItemText { get; set; }
|
|
public int SortOrder { get; set; }
|
|
}
|
|
}
|