Spaces:
Sleeping
Sleeping
| using System; | |
| using MongoDB.Bson.Serialization.Attributes; | |
| namespace TelegramSaaS.Infrastructure.Persistence; | |
| public class MongoFile | |
| { | |
| [] | |
| public string Id { get; set; } = null!; // The relative path, e.g. "public-outputs/folder/xyz.png" | |
| public byte[] Content { get; set; } = null!; | |
| public string ContentType { get; set; } = null!; | |
| public DateTime UploadedAt { get; set; } | |
| } | |