using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCore.Models.Common { public class LogDatabase // TODO { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public int Id { get; set; } [BsonElement("Time")] public DateTime Time { get; set; } [BsonElement("Level")] public int Level { get; set; } [BsonElement("Message")] public string Message { get; set; } [BsonElement("Sent")] public bool Sent { get; set; } } }