刘磊
2025-04-19 823752496e2a4cdb6a1fb36227cd15b8b7135336
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
using SqlSugar;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Text;
using WIDESEA_Core.DB.Models;
using WIDESEA_Model.Models;
 
namespace WIDESEAWCS_Model.Models
{
    [SugarTable("dt_needBarcode")]
    public class dt_needBarcode : BaseEntity
    {
        [Key]
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int id { get; set; }
 
        /// <summary>
        /// 目标库区
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 20, ColumnDescription = "目标库区")]
        public string toArea { get; set; }
 
        /// <summary>
        /// 来源库区
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "来源库区")]
        public string fromArea { get; set; }
 
        /// <summary>
        /// 托盘类型
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "托盘类型")]
        public string barcodeType { get; set; }
 
        /// <summary>
        /// 产线
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "所属产线")]
        public string productLine {  get; set; }
 
        /// <summary>
        /// 在途数量
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "在途数量")]
        public int inLineNum { get; set; }
 
        /// <summary>
        /// 目标缓存数量
        /// </summary>
        [SugarColumn(IsNullable = false, Length = 10, ColumnDescription = "可缓存数量")]
        public int cacheNum { get; set; } = 0;
 
 
        /// <summary>
        /// 已创建出库任务数量
        /// </summary>
        //[NotMapped]
        //public int haveOutNum { get; set; } = 0;
    }
}