mirror of
https://github.com/Caraxi/mare.server.git
synced 2025-12-12 22:17:22 +01:00
17 lines
456 B
C#
17 lines
456 B
C#
using System;
|
|
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace MareSynchronosServer.Models
|
|
{
|
|
public class FileCache
|
|
{
|
|
[Key]
|
|
public string Hash { get; set; }
|
|
public User Uploader { get; set; }
|
|
public bool Uploaded { get; set; }
|
|
public DateTime LastAccessTime { get; set; }
|
|
[Timestamp]
|
|
public byte[] Timestamp { get; set; }
|
|
}
|
|
}
|