mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 17:51:20 +00:00
37 lines
824 B
C#
37 lines
824 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.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; } // ?
|
|
}
|
|
}
|
|
|
|
|