using System; using System.Collections.Generic; using System.Linq; using SqlSugar; namespace DoAn.SugarModels { /// /// 防护壳更换对应表 /// [SugarTable("res_seres_assembly_trace_log")] class resSeresAssemblyTraceLog { /// /// 自增长ID /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsIdentity = true)] public int Id { get; set; } /// /// 之前追溯码对应零件ID /// 默认值: /// [SugarColumn(ColumnName = "trace_id_old")] public int TraceIdOld { get; set; } /// /// 新标签的追溯码 /// [SugarColumn(ColumnName = "trace_id")] public int TraceId { get; set; } /// /// 创建时间 /// 默认值: CURRENT_TIMESTAMP /// [SugarColumn(ColumnName = "create_time")] public DateTime CreateTime { get; set; } } }