using Magicodes.ExporterAndImporter.Core; 
 | 
using SqlSugar; 
 | 
using System; 
 | 
using System.Collections.Generic; 
 | 
using System.Linq; 
 | 
using System.Text; 
 | 
using System.Threading.Tasks; 
 | 
using WIDESEAWCS_Core.DB.Models; 
 | 
  
 | 
namespace WIDESEAWCS_Model.Models 
 | 
{ 
 | 
    /// <summary> 
 | 
    /// 库存信息明细历史 
 | 
    /// </summary> 
 | 
    [SugarTable(nameof(Dt_StockInfoDetail_Hty), "库存信息明细历史")] 
 | 
    public class Dt_StockInfoDetail_Hty : Dt_StockInfoDetail, IBaseHistoryEntity 
 | 
    { 
 | 
        /// <summary> 
 | 
        /// 原表主键 
 | 
        /// </summary> 
 | 
        [ImporterHeader(Name = "原表主键")] 
 | 
        [ExporterHeader(DisplayName = "原表主键")] 
 | 
        [SugarColumn(IsNullable = false, DefaultValue = "0", ColumnDescription = "原表主键")] 
 | 
        public int SourceId { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 操作类型 
 | 
        /// </summary> 
 | 
        [ImporterHeader(Name = "操作类型")] 
 | 
        [ExporterHeader(DisplayName = "操作类型")] 
 | 
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "操作类型")] 
 | 
        public string OperateType { get; set; } 
 | 
  
 | 
        /// <summary> 
 | 
        /// 移入历史时间 
 | 
        /// </summary> 
 | 
        [ImporterHeader(Name = "移入历史时间")] 
 | 
        [ExporterHeader(DisplayName = "移入历史时间")] 
 | 
        [SugarColumn(IsNullable = false, ColumnDescription = "移入历史时间")] 
 | 
        public DateTime InsertTime { get; set; } 
 | 
    } 
 | 
} 
 |