wip
This commit is contained in:
parent
1ecaf64dea
commit
cb9d5e332e
11 changed files with 72 additions and 69 deletions
22
Femto.Modules.Media/Application/SavedBlob.cs
Normal file
22
Femto.Modules.Media/Application/SavedBlob.cs
Normal file
|
@ -0,0 +1,22 @@
|
|||
using System.ComponentModel.DataAnnotations.Schema;
|
||||
|
||||
namespace Femto.Modules.Media.Data;
|
||||
|
||||
[Table("saved_blob")]
|
||||
internal class SavedBlob
|
||||
{
|
||||
public Guid Id { get; private set; }
|
||||
public DateTime UploadedOn { get; private set; }
|
||||
public string Type { get; private set; }
|
||||
public long? Size { get; private set; }
|
||||
|
||||
public SavedBlob(Guid id, string type, long? size)
|
||||
{
|
||||
Id = id;
|
||||
UploadedOn = DateTime.UtcNow;
|
||||
Type = type;
|
||||
Size = size;
|
||||
}
|
||||
|
||||
private SavedBlob() { }
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue