38 lines
1.2 KiB
C#
38 lines
1.2 KiB
C#
using System.ComponentModel.DataAnnotations;
|
|
using System.ComponentModel.DataAnnotations.Schema;
|
|
|
|
namespace TWASys_App.DBModels
|
|
{
|
|
public class LocalServer
|
|
{
|
|
[Key]
|
|
[DatabaseGenerated(DatabaseGeneratedOption.Identity)]
|
|
public long IdLocalServer { get; set; } = 0;
|
|
|
|
public string IpPrivateServer { get; set; } = "";
|
|
public string IpPrivateServerv6 { get; set; } = "";
|
|
public string IpPublicServer { get; set; } = "";
|
|
|
|
public string PathServer { get; set; } = "";
|
|
|
|
public string SerialNumber { get; set; } = "";
|
|
|
|
|
|
public string OsVersion { get; set; } = "";
|
|
|
|
public string OsName { get; set; } = "";
|
|
public string OsArch { get; set; } = "";
|
|
|
|
public string OsKernal { get; set; } = "";
|
|
public int SocketNum { get; set; } = 0;
|
|
|
|
public string CpuName { get; set; } = "";
|
|
public float TotalRam { get; set; } = 0;
|
|
|
|
public string BiosVender { get; set; } = "";
|
|
public string ProductUuid { get; set; } = "";
|
|
public int Status { get; set; } = 0;
|
|
|
|
}
|
|
}
|