using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace WCS.BLL.DbModels { /// ///物料信息表 /// [SugarTable("wcs_mat_info_log")] public class MatInfoLog { /// /// 主键 Id 自增 /// [SugarColumn(ColumnName = "id", IsPrimaryKey = true, IsNullable = false, IsIdentity = true)] public int Id { get; set; } /// /// 物料编码 /// [SugarColumn(ColumnName = "mat_Sn", Length = 200, IsNullable = false, ColumnDescription = "物料唯一码")] public string MatSn { get; set; } /// /// 更新信息 /// [SugarColumn(ColumnName = "info", Length = 200, IsNullable = false, ColumnDescription = "更新信息")] public string Info { get; set; } /// /// 物料数量 /// [SugarColumn(ColumnName = "mat_qty", IsNullable = false, ColumnDescription = "物料数量")] public int MatQty { get; set; } /// /// Desc:更新时间 /// Default: /// Nullable:True /// [SugarColumn(ColumnName = "modify_time", IsNullable = true, ColumnDescription = "更新时间")] public DateTime? ModifyTime { get; set; } = DateTime.Now; } }