feat!: convert projects to .net 5 wip

This commit is contained in:
2021-06-28 18:59:25 -04:00
parent d89739016a
commit a953521992
12 changed files with 256 additions and 0 deletions

23
Habittodo.Model/Task.cs Normal file
View File

@@ -0,0 +1,23 @@
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;
namespace Habittodo.Model
{
public class Task
{
[JsonProperty("text")]
public string Text { get; set; }
[JsonProperty("type")]
public string Type { get; set; }
[JsonProperty("date")]
public string Date { get; set; }
[JsonProperty("priority")]
public string Priority { get; set; }
[JsonProperty("checklist", NullValueHandling = NullValueHandling.Ignore)]
public List<ChecklistItem> Checklist { get; set; }
[JsonProperty("id")]
public string Id { get; set; }
}
}