initial upload
This commit is contained in:
parent
a0aa9cc28e
commit
f857f43df4
553 changed files with 46169 additions and 13 deletions
40
src/Core/Insight.Infrastructure/Entities/HostApplication.cs
Normal file
40
src/Core/Insight.Infrastructure/Entities/HostApplication.cs
Normal file
|
|
@ -0,0 +1,40 @@
|
|||
using MongoDB.Bson;
|
||||
using MongoDB.Bson.Serialization.Attributes;
|
||||
using System.Text.Json.Serialization;
|
||||
|
||||
namespace Insight.Infrastructure.Entities
|
||||
{
|
||||
[BsonIgnoreExtraElements]
|
||||
public class HostApplicationEntity
|
||||
{
|
||||
[BsonId, BsonRepresentation(BsonType.ObjectId), JsonPropertyName("id")]
|
||||
public string? Id { 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("insert")]
|
||||
public DateTime? Insert { get; set; }
|
||||
|
||||
[BsonElement("update")]
|
||||
public DateTime? Update { get; set; }
|
||||
|
||||
[BsonElement("company")]
|
||||
public string? Company { get; set; }
|
||||
|
||||
[BsonElement("name")]
|
||||
public string? Name { get; set; }
|
||||
|
||||
[BsonElement("architecture")]
|
||||
public string? Architecture { get; set; }
|
||||
|
||||
[BsonElement("version")]
|
||||
public string? Version { get; set; }
|
||||
|
||||
[BsonElement("installdate")]
|
||||
public DateTime? InstallDate { get; set; }
|
||||
}
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue