Raghava Pulugu
Deploy app without exposed API tokens
7535af1
Raw
History Blame Contribute Delete
402 Bytes
using System;
using MongoDB.Bson.Serialization.Attributes;
namespace TelegramSaaS.Infrastructure.Persistence;
public class MongoFile
{
[BsonId]
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; }
}