qol: make attachment comments optional

This commit is contained in:
Gary Sharp
2024-12-18 18:40:23 +11:00
parent 77acf0bfdb
commit 9f10eeeb70
21 changed files with 741 additions and 527 deletions
+1 -1
View File
@@ -17,7 +17,7 @@ namespace Disco.Models.Repository
[Required, StringLength(500)]
public string MimeType { get; set; }
public DateTime Timestamp { get; set; }
[StringLength(500), Required]
[StringLength(500)]
public string Comments { get; set; }
public string DocumentTemplateId { get; set; }