添加项目文件。
This commit is contained in:
47
EleBox.App/Model/LastStateInfo.cs
Normal file
47
EleBox.App/Model/LastStateInfo.cs
Normal file
@@ -0,0 +1,47 @@
|
||||
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; }
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user