huangxiaoqiang
2025-02-19 5bc6d819399409a429093a6001c553d6fa2d2e15
Code Management/WCS/WIDESEAWCS_Server/WIDESEAWCS_Model/Models/BasicInfo/dt_needBarcode.cs
@@ -1,4 +1,5 @@
using SqlSugar;
using Magicodes.ExporterAndImporter.Core;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
@@ -13,43 +14,57 @@
    public class dt_needBarcode : BaseEntity
    {
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        [ImporterHeader(IsIgnore = true)]
        [ExporterHeader(DisplayName = "主键")]
        [SugarColumn(IsIdentity = true, IsNullable = true, IsPrimaryKey = true, ColumnDescription = "主键")]
        public int id { get; set; }
        /// <summary>
        /// 目标库区
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "目标库区")]
        [ImporterHeader(Name = "目标库区")]
        [ExporterHeader(DisplayName = "目标库区")]
        [SugarColumn(IsNullable = true, ColumnDescription = "目标库区")]
        public string toArea { get; set; }
        /// <summary>
        /// 来源库区
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "来源库区")]
        [ImporterHeader(Name = "来源库区")]
        [ExporterHeader(DisplayName = "来源库区")]
        [SugarColumn(IsNullable = true, ColumnDescription = "来源库区")]
        public string fromArea { get; set; }
        /// <summary>
        /// 托盘类型
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "托盘类型")]
        [ImporterHeader(Name = "托盘类型")]
        [ExporterHeader(DisplayName = "托盘类型")]
        [SugarColumn(IsNullable = true, ColumnDescription = "托盘类型")]
        public string barcodeType { get; set; }
        /// <summary>
        /// 产线
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "所属产线")]
        [ImporterHeader(Name = "产线")]
        [ExporterHeader(DisplayName = "产线")]
        [SugarColumn(IsNullable = true, ColumnDescription = "产线")]
        public string productLine {  get; set; }
        /// <summary>
        /// 在途数量
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "在途数量")]
        [ImporterHeader(Name = "在途数量")]
        [ExporterHeader(DisplayName = "在途数量")]
        [SugarColumn(IsNullable = true, ColumnDescription = "在途数量")]
        public int inLineNum { get; set; }
        /// <summary>
        /// 目标缓存数量
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "可缓存数量")]
        [ImporterHeader(Name = "可缓存数量")]
        [ExporterHeader(DisplayName = "可缓存数量")]
        [SugarColumn(IsNullable = true, ColumnDescription = "可缓存数量")]
        public int cacheNum { get; set; } = 0;