26 lines
636 B
C#
26 lines
636 B
C#
using Habitica.Todoist.Integration.Model.Storage.Enum;
|
|
using Microsoft.Azure.Cosmos.Table;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Text;
|
|
|
|
namespace Habittodo.Model
|
|
{
|
|
/* TODO: Rework structure */
|
|
public class TodoChange : TableEntity
|
|
{
|
|
public TodoChange() { }
|
|
|
|
public TodoChange(string userId, string todoId)
|
|
{
|
|
PartitionKey = userId;
|
|
RowKey = todoId;
|
|
}
|
|
|
|
public TodoApp Application { get; set; }
|
|
public TodoAction Action { get; set; }
|
|
public bool Applied { get; set; }
|
|
public string JsonTodo { get; set; }
|
|
}
|
|
}
|