using MongoDB.Bson; using MongoDB.Bson.Serialization.Attributes; using System; using System.Collections.Generic; using System.Linq; using System.Threading.Tasks; namespace MyCore.Interfaces.Models { public class ScreenConfiguration { [BsonId] [BsonRepresentation(BsonType.ObjectId)] public string Id { get; set; } [BsonElement("Name")] public string Name { get; set; } [BsonElement("Type")] public string Type { get; set; } [BsonElement("Widgets")] public ScreenWidget[] Widgets { get; set; } [BsonElement("Height")] public int Height { get; set; } [BsonElement("Width")] public int Width { get; set; } } }