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 { /// /// 上一次软件的信息 /// [Table(Name = "dbo.LastStateInfo")] public class LastStateInfo { /// /// 主键 /// [Column(IsPrimary = true, IsIdentity = true)] public long Id { get; set; } /// /// 机器名称 /// [Column(Name = "MachineName", IsNullable = false, StringLength = 20)] public string MachineName { get; set; } /// /// 属性名称 /// [Column(Name = "AttributeName", IsNullable = false, StringLength = 20)] public string AttributeName { get; set; } /// /// 属性值 /// [Column(Name = "AttributeValue", IsNullable = false, StringLength = 20)] public string AttributeValue { get; set; } /// /// 创建时间 /// [Column(ServerTime = DateTimeKind.Local, CanUpdate = true)] public DateTime CreateTime { get; set; } } }