using Magicodes.ExporterAndImporter.Core; using Masuit.Tools.Core.Validator; using SqlSugar; using System.ComponentModel.DataAnnotations; using WIDESEA_Core.DB.Models; namespace WIDESEA_Model.Models { [SugarTable(nameof(DtBoxingInfo_Hty), "组盘历史信息")] public class DtBoxingInfo_Hty : DtBoxingInfo,IBaseHistoryEntity { /// /// 原表主键 /// [ImporterHeader(Name = "原表主键")] [ExporterHeader(DisplayName = "原表主键")] [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "原表主键")] public int SourceId { get; set; } /// /// 操作类型 /// [ImporterHeader(Name = "操作类型")] [ExporterHeader(DisplayName = "操作类型")] [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "操作类型")] public string OperateType { get; set; } /// /// 移入历史时间 /// [ImporterHeader(Name = "移入历史时间")] [ExporterHeader(DisplayName = "移入历史时间")] [SugarColumn(IsNullable = false, ColumnDescription = "移入历史时间")] public DateTime InsertTime { get; set; } } }