48 lines
1.3 KiB
C#
48 lines
1.3 KiB
C#
using FreeSql.DataAnnotations;
|
|
using NLog.Fluent;
|
|
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace DynStatDisk.App.Model
|
|
{
|
|
/// <summary>
|
|
/// 上一次软件的信息
|
|
/// </summary>
|
|
[Table(Name = "dbo.LastStateInfo")]
|
|
public class LastStateInfo
|
|
{
|
|
/// <summary>
|
|
/// 主键
|
|
/// </summary>
|
|
[Column(IsPrimary = true, IsIdentity = true)]
|
|
public long Id { get; set; }
|
|
|
|
/// <summary>
|
|
/// 机器名称
|
|
/// </summary>
|
|
[Column(Name = "MachineName", IsNullable = false, StringLength = 20)]
|
|
public string MachineName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 属性名称
|
|
/// </summary>
|
|
[Column(Name = "AttributeName", IsNullable = false, StringLength = 20)]
|
|
public string AttributeName { get; set; }
|
|
|
|
/// <summary>
|
|
/// 属性值
|
|
/// </summary>
|
|
[Column(Name = "AttributeValue", IsNullable = false, StringLength = 20)]
|
|
public string AttributeValue { get; set; }
|
|
|
|
/// <summary>
|
|
/// 创建时间
|
|
/// </summary>
|
|
[Column(ServerTime = DateTimeKind.Local, CanUpdate = true)]
|
|
public DateTime CreateTime { get; set; }
|
|
}
|
|
}
|