This commit is contained in:
2020-12-11 21:25:28 +00:00
parent 9181285264
commit b1b7f38b58
3 changed files with 417 additions and 1 deletions

View File

@@ -1,3 +1,4 @@
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
@@ -27,10 +28,12 @@ namespace AyaNova.Models
public bool Replied { get; set; }
public long? FromId { get; set; }
public long? ToId { get; set; }
public DateTime Sent { get; set; }//redundant but displayed all over the place in the UI so properly redundant
public Memo()
{
Tags = new List<string>();
Sent = DateTime.UtcNow;
}
[NotMapped, JsonIgnore]