add: last used category

This commit is contained in:
2022-03-15 07:47:44 +08:00
parent 9a8f1289ed
commit 77b4e54734
2 changed files with 15 additions and 1 deletions

View File

@ -1,5 +1,6 @@
using SQLite;
using System;
namespace Billing.Models
{
public class Category : IIdItem
@ -14,6 +15,8 @@ namespace Billing.Models
public string Name { get; set; }
public long TintColor { get; set; } = TRANSPARENT_COLOR;
public int? ParentId { get; set; }
public DateTime? LastUsed { get; set; }
public int? LastAccountId { get; set; }
}
public enum CategoryType