using SqlSugar; using System; using System.ComponentModel.DataAnnotations.Schema; namespace WCS.Entity { /// /// 设备信息表 /// [SugarTable(nameof(WCS_PlcData), "路径")] public class WCS_PlcData { /// /// ID /// [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "ID")] [Column(Order = 0)] public virtual int ID { get; set; } /// /// 更新时间 /// [SugarColumn(ColumnDescription = "更新时间")] public DateTime UPDATETIME { get; set; } = DateTime.Now; /// /// 仓库 /// [SugarColumn(ColumnDescription = "仓库")] public string WAREHOUSE { get; set; } /// /// 内容 /// [SugarColumn(ColumnDescription = "内容", ColumnDataType = "text")] public string CONTENT { get; set; } } }