2020-06-28 21:44:35 -05:00
|
|
|
using System;
|
2019-04-22 09:41:20 +02:00
|
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
2022-03-02 12:22:11 +01:00
|
|
|
using BTCPayServer.Abstractions.Contracts;
|
2019-04-22 09:41:20 +02:00
|
|
|
|
2019-08-30 00:24:42 +09:00
|
|
|
namespace BTCPayServer.Data
|
2019-04-22 09:41:20 +02:00
|
|
|
{
|
2022-03-02 12:22:11 +01:00
|
|
|
public class StoredFile : IStoredFile
|
2019-04-22 09:41:20 +02:00
|
|
|
{
|
|
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
|
|
public string Id { get; set; }
|
|
|
|
|
|
|
|
public string FileName { get; set; }
|
|
|
|
public string StorageFileName { get; set; }
|
|
|
|
public DateTime Timestamp { get; set; }
|
|
|
|
public string ApplicationUserId { get; set; }
|
2020-12-28 14:57:21 -06:00
|
|
|
public ApplicationUser ApplicationUser { get; set; }
|
2019-04-22 09:41:20 +02:00
|
|
|
}
|
|
|
|
}
|