18 lines
		
	
	
		
			433 B
		
	
	
	
		
			C#
		
	
	
	
	
	
			
		
		
	
	
			18 lines
		
	
	
		
			433 B
		
	
	
	
		
			C#
		
	
	
	
	
	
| using System.ComponentModel.DataAnnotations;
 | |
| 
 | |
| namespace MareSynchronosShared.Models
 | |
| {
 | |
|     public class FileCache
 | |
|     {
 | |
|         [Key]
 | |
|         [MaxLength(40)]
 | |
|         public string Hash { get; set; }
 | |
|         [MaxLength(10)]
 | |
|         public string UploaderUID { get; set; }
 | |
|         public User Uploader { get; set; }
 | |
|         public bool Uploaded { get; set; }
 | |
|         [Timestamp]
 | |
|         public byte[] Timestamp { get; set; }
 | |
|     }
 | |
| }
 | 
