document template on import user flag rules

This commit is contained in:
Gary Sharp
2023-04-15 18:12:50 +10:00
parent 1e24844e88
commit d75663a219
25 changed files with 2568 additions and 660 deletions
@@ -0,0 +1,22 @@
using Disco.Models.Repository;
using Newtonsoft.Json;
using System;
using System.ComponentModel.DataAnnotations;
namespace Disco.Models.Services.Documents
{
public class OnImportUserFlagRule
{
public Guid Id { get; set; }
public int FlagId { get; set; }
[StringLength(50)]
public string UserId { get; set; }
public bool AddFlag { get; set; }
public string Comments { get; set; }
[JsonIgnore]
public User User { get; set; }
[JsonIgnore]
public UserFlag UserFlag { get; set; }
}
}