2020-12-16 21:35:51 +01:00

37 lines
835 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 ScreenDevice
{
[BsonId]
[BsonRepresentation(BsonType.ObjectId)]
public string Id { get; set; }
[BsonElement("Name")]
public string Name { get; set; }
[BsonElement("Type")]
public string Type { get; set; }
[BsonElement("Location")]
public string Location { get; set; }
[BsonElement("LocationExplanation")]
public string LocationExplanation { get; set; }
[BsonElement("Height")]
public int Height { get; set; } // ?
[BsonElement("Width")]
public int Width { get; set; } // ?
}
}