using DS.Module.Core.Data; using SqlSugar; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.Entity { /// /// 业务日志 /// [SqlSugar.SugarTable("op_business_log", "业务日志")] public class OpBusinessLog : BaseModel { /// /// 业务id /// [SugarColumn(ColumnDescription = "业务id")] public long? BusinessId { get; set; } /// /// 操作方式:新增(Create)、更新(Update)、删除(Delete) /// [SugarColumn(ColumnDescription = "操作方式:新增(Create)、更新(Update)、删除(Delete) ",IsNullable = false,Length =20)] public string OperateType { get; set; } ///// ///// 旧值 ///// //[SugarColumn(ColumnDescription = "旧值", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] //public string OldValue { get; set; } ///// ///// 新值 ///// //[SugarColumn(ColumnDescription = "新值", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] //public string NewValue { get; set; } ///// ///// 差异数据 ///// //[SugarColumn(ColumnDescription = "差异数据", IsNullable = true, ColumnDataType = StaticConfig.CodeFirst_BigString)] //public string DiffData { get; set; } /// /// 业务来源代码 /// [SugarColumn(ColumnDescription = "业务来源代码", IsNullable = true, Length = 100)] public string SourceCode { get; set; } /// /// 业务来源 /// [SugarColumn(ColumnDescription = "业务来源", IsNullable = false, Length = 100)] public string SourceName { get; set; } } }