mirror of
https://github.com/skoelle/focusapp.git
synced 2026-09-17 20:10:25 +00:00
26 lines
491 B
C#
26 lines
491 B
C#
namespace FocusApp.Models;
|
|
|
|
public class CreateTaskDto
|
|
{
|
|
public string Title { get; set; } = string.Empty;
|
|
public string? Description { get; set; }
|
|
}
|
|
|
|
public class UpdateTaskDto
|
|
{
|
|
public string? Title { get; set; }
|
|
public string? Description { get; set; }
|
|
public int? Order { get; set; }
|
|
}
|
|
|
|
public class ReorderDto
|
|
{
|
|
public List<OrderItem> Orders { get; set; } = new();
|
|
}
|
|
|
|
public class OrderItem
|
|
{
|
|
public int Id { get; set; }
|
|
public int Order { get; set; }
|
|
}
|