huangxiaoqiang
2025-10-15 b7da1f32d5d9997378b5ac535593a3f6144af46b
ÏîÄ¿´úÂë/WMS/WIDESEA_WMSServer/WIDESEA_Model/Models/BasicModel/DtStockInfo_Hty.cs
@@ -5,137 +5,30 @@
namespace WIDESEA_Model.Models
{
    [SugarTable(nameof(DtStockInfo_Hty), "库存信息历史")]
    public class DtStockInfo_Hty : BaseEntity
    public class DtStockInfo_Hty : DtStockInfo, IBaseHistoryEntity
    {
        /// <summary>
        /// ä¸»é”®
        /// åŽŸè¡¨ä¸»é”®
        /// </summary>
        [ImporterHeader(Name = "主键")]
        [ExporterHeader(DisplayName = "主键")]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
        [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 PalletCode { get; set; }
        [ImporterHeader(Name = "操作类型")]
        [ExporterHeader(DisplayName = "操作类型")]
        [SugarColumn(IsNullable = false, Length = 50, ColumnDescription = "操作类型")]
        public string OperateType { get; set; }
        /// <summary>
        /// è´§ä½ç¼–号
        /// ç§»å…¥åŽ†å²æ—¶é—´
        /// </summary>
        [ImporterHeader(Name = "货位ID")]
        [ExporterHeader(DisplayName = "货位ID")]
        [SugarColumn(IsNullable = true, ColumnDescription = "货位ID")]
        public int LocationId { get; set; }
        /// <summary>
        /// è´§ä½ç¼–号
        /// </summary>
        [ImporterHeader(Name = "货位编号")]
        [ExporterHeader(DisplayName = "货位编号")]
        [SugarColumn(IsNullable = true, Length = 20, ColumnDescription = "货位编号")]
        public string LocationCode { get; set; }
        /// <summary>
        /// æ˜¯å¦æ»¡ç›˜
        /// </summary>
        [ImporterHeader(Name = "是否实盘")]
        [ExporterHeader(DisplayName = "是否实盘")]
        [SugarColumn(IsNullable = false, ColumnDescription = "是否满盘", DefaultValue = "0")]
        public bool IsFull { get; set; }
        /// <summary>
        /// å¤‡æ³¨ (静制\陈化时间)
        /// </summary>
        [ImporterHeader(Name = "电芯数量")]
        [ExporterHeader(DisplayName = "电芯数量")]
        [SugarColumn(IsNullable = true, ColumnDescription = "电芯数量")]
        public string Remark { get; set; }
        /// <summary>
        /// å…³è”工序返回时间(注液\静置时长)
        /// </summary>
        [ImporterHeader(Name = "工序返回时间")]
        [ExporterHeader(DisplayName = "工序返回时间")]
        public string LinedProcessFeedbackTime { get; set; }
        /// <summary>
        /// ç‰¹å¾å‚数返回(静置时长)
        /// </summary>
        [ImporterHeader(Name = "静置时长")]
        [ExporterHeader(DisplayName = "静置时长")]
        public string SpecialParameterDuration { get; set; }
        /// <summary>
        /// ç”Ÿäº§äº§çº¿
        /// </summary>
        [ImporterHeader(Name = "生产产线")]
        [ExporterHeader(DisplayName = "生产产线")]
        public string ProductionLine { get; set; }
        /// <summary>
        /// åŒºåŸŸç¼–码
        /// </summary>
        [ImporterHeader(Name = "区域编码")]
        [ExporterHeader(DisplayName = "区域编码")]
        [SugarColumn(IsNullable = true, ColumnDescription = "区域编码")]
        public string AreaCode { get; set; }
        /// <summary>
        /// åº”出库时间
        /// </summary>
        [ImporterHeader(Name = "应出库时间")]
        [ExporterHeader(DisplayName = "应出库时间")]
        [SugarColumn(IsNullable = true, ColumnDescription = "应出库时间")]
        public DateTime? OutboundTime { get; set; }
        /// <summary>
        /// å‚数信息
        /// </summary>
        [ImporterHeader(Name = "参数信息")]
        [ExporterHeader(DisplayName = "参数信息")]
        [SugarColumn(IsNullable = true, ColumnDescription = "参数信息", Length = int.MaxValue)]
        public string ParameterInfos { get; set; }
        /// <summary>
        /// åº“存状态
        /// </summary>
        [ImporterHeader(Name = "库存状态")]
        [ExporterHeader(DisplayName = "库存状态")]
        [SugarColumn(IsNullable = true, ColumnDescription = "库存状态")]
        public int StockStatus { get; set; }
        /// <summary>
        /// å½“前工序
        /// </summary>
        [ImporterHeader(Name = "当前工序")]
        [ExporterHeader(DisplayName = "当前工序")]
        [SugarColumn(IsNullable = true, ColumnDescription = "当前工序")]
        public string ProcessCode { get; set; }
        /// <summary>
        /// ä¸‹ä¸€å·¥åº
        /// </summary>
        [ImporterHeader(Name = "下一工序")]
        [ExporterHeader(DisplayName = "下一工序")]
        [SugarColumn(IsNullable = true, ColumnDescription = "下一工序")]
        public string NextProcessCode { get; set; }
        /// <summary>
        /// åº“存明细
        /// </summary>
        [SugarColumn(ColumnName = "StockInfoDetails")]
        [Navigate(NavigateType.OneToMany, nameof(DtStockInfoDetail_Hty.StockId))]
        public List<DtStockInfoDetail_Hty>? StockInfoDetails { get; set; }
        /// <summary>
        /// è´§ä½æ•°æ®
        /// </summary>
        [SugarColumn(ColumnName = "LocationInfo")]
        [Navigate(NavigateType.OneToOne, nameof(LocationId), nameof(DtLocationInfo.Id))]
        public DtLocationInfo? LocationInfo { get; set; }
        [ImporterHeader(Name = "移入历史时间")]
        [ExporterHeader(DisplayName = "移入历史时间")]
        [SugarColumn(IsNullable = false, ColumnDescription = "移入历史时间")]
        public DateTime InsertTime { get; set; }
    }
}