media upload

This commit is contained in:
john 2025-05-04 21:46:24 +02:00
parent befaa207d7
commit 0d7da2ea85
33 changed files with 257 additions and 353 deletions

View 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 CreatedOn { 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;
CreatedOn = DateTime.UtcNow;
Type = type;
Size = size;
}
private SavedBlob() { }
}