Initial commit

This commit is contained in:
2025-08-30 23:27:45 +02:00
parent 523452dda5
commit f7102c782f
251 changed files with 29518 additions and 0 deletions

View File

@@ -0,0 +1,18 @@
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; }
public DateTime UploadDate { get; set; }
[Timestamp]
public byte[] Timestamp { get; set; }
public long Size { get; set; }
}