mirror of
https://github.com/skoelle/focusapp.git
synced 2026-09-17 20:10:25 +00:00
cleanup 2
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
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; }
|
||||
}
|
||||
Reference in New Issue
Block a user