21 lines
		
	
	
		
			583 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			21 lines
		
	
	
		
			583 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System;
 | |
| using System.Collections.Generic;
 | |
| using System.Text;
 | |
| 
 | |
| namespace Seenginx.Models
 | |
| {
 | |
| 	public class ConfigFile
 | |
| 	{
 | |
| 		public string Folder { get; set; }
 | |
| 		public string Name { get; set; }
 | |
| 		public bool HasDraft => !string.IsNullOrEmpty(DraftName);
 | |
| 		public string DraftName { get; set; }
 | |
| 		public string OriginalBody { get; set; }
 | |
| 		public string ChangedBody { get; set; }
 | |
| 		public DateTime LastUpdated { get; set; }
 | |
| 		public string[] Owners { get; set; }
 | |
| 		public string Permissions { get; set; }
 | |
| 		public bool CanBeDeleted { get; set; } = true;
 | |
| 	}
 | |
| }
 |