syntax updates
This commit is contained in:
parent
283fa1abc2
commit
1e05d4576d
75 changed files with 3821 additions and 3905 deletions
|
|
@ -2,39 +2,38 @@
|
|||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Insight.Infrastructure.Entities
|
||||
namespace Insight.Infrastructure.Entities;
|
||||
|
||||
[BsonIgnoreExtraElements]
|
||||
public class HostVideocardEntity
|
||||
{
|
||||
[BsonIgnoreExtraElements]
|
||||
public class HostVideocardEntity
|
||||
{
|
||||
[BsonId, BsonRepresentation(BsonType.ObjectId), JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
[BsonId, BsonRepresentation(BsonType.ObjectId), JsonPropertyName("id")]
|
||||
public string? Id { get; set; }
|
||||
|
||||
[BsonElement("_host"), BsonRepresentation(BsonType.ObjectId), JsonPropertyName("host")]
|
||||
public string? Host { get; set; }
|
||||
[BsonElement("_host"), BsonRepresentation(BsonType.ObjectId), JsonPropertyName("host")]
|
||||
public string? Host { get; set; }
|
||||
|
||||
[BsonElement("_batch"), BsonRepresentation(BsonType.ObjectId), JsonPropertyName("batch")]
|
||||
public string? Batch { get; set; }
|
||||
[BsonElement("_batch"), BsonRepresentation(BsonType.ObjectId), JsonPropertyName("batch")]
|
||||
public string? Batch { get; set; }
|
||||
|
||||
[BsonElement("insert")]
|
||||
public DateTime? Insert { get; set; }
|
||||
[BsonElement("insert")]
|
||||
public DateTime? Insert { get; set; }
|
||||
|
||||
[BsonElement("update")]
|
||||
public DateTime? Update { get; set; }
|
||||
[BsonElement("update")]
|
||||
public DateTime? Update { get; set; }
|
||||
|
||||
[BsonElement("company")]
|
||||
public string? Company { get; set; }
|
||||
[BsonElement("company")]
|
||||
public string? Company { get; set; }
|
||||
|
||||
[BsonElement("name")]
|
||||
public string? Name { get; set; }
|
||||
[BsonElement("name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
[BsonElement("memory")]
|
||||
public ulong? Memory { get; set; }
|
||||
[BsonElement("memory")]
|
||||
public ulong? Memory { get; set; }
|
||||
|
||||
[BsonElement("driver")]
|
||||
public string? Driver { get; set; }
|
||||
[BsonElement("driver")]
|
||||
public string? Driver { get; set; }
|
||||
|
||||
[BsonElement("date")]
|
||||
public DateTime? Date { get; set; }
|
||||
}
|
||||
[BsonElement("date")]
|
||||
public DateTime? Date { get; set; }
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue