mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 01:31:19 +00:00
32 lines
732 B
C#
32 lines
732 B
C#
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; }
|
|
}
|
|
}
|