using MongoDB.Bson;
using MongoDB.Bson.Serialization.Attributes;

namespace Managing.Infrastructure.Databases.MongoDb.Configurations
{
    public interface IDocument
    {
        [BsonId]
        [BsonRepresentation(BsonType.String)]
        ObjectId Id { get; set; }

        DateTime CreatedAt { get; }
    }
}
