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 string WAREHOUSE { get; set; } /// /// 内容 /// [SugarColumn(ColumnDescription = "内容", ColumnDataType = "text")] public string CONTENT { get; set; } /// /// 创建用户 /// 仅记录用户ID /// [SugarColumn(ColumnDescription = "创建用户", Length = 50)] public string AddWho { get; set; } /// /// 创建时间 /// [SugarColumn(ColumnDescription = "创建时间", InsertServerTime = true)] public DateTime AddTime { get; set; } } }