1
huangxiaoqiang
2025-10-22 d4b0b578752a1478f6c11b352fbb8d2bad1f9e1d
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.DB.Models;
 
namespace WIDESEA_Model.Models.Order
{
    /// <summary>
    /// 入库单据
    ///</summary>
    [SugarTable("Dt_InboundOrder")]
    public class Dt_InboundOrder : BaseEntity
    {
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true, ColumnDescription = "主键")]
        public int Id { get; set; }
 
        /// <summary>
        /// 入库单据
        /// </summary>
        [SugarColumn(ColumnName= "OrderNo", Length = 255) ]
        public string OrderNo { get; set; }
 
        /// <summary>
        /// 上游单号
        /// </summary>
        [SugarColumn(ColumnName = "UpperOrderNo", Length = 255)]
        public string UpperOrderNo { get; set; }
 
 
        /// <summary>
        /// 需求分类
        /// </summary>
        [SugarColumn(ColumnName = "DemandClassification", Length = 255)]
        public string DemandClassification { get; set; }
 
        /// <summary>
        /// 单据类型
        /// </summary>
        [SugarColumn(ColumnName = "OrderType", Length = 255)]
        public string OrderType { get; set; }
 
        /// <summary>
        /// 仓库
        /// </summary>
        [SugarColumn(ColumnName = "WarehouseName", Length = 255)]
        public string WarehouseName { get; set; }
 
        /// <summary>
        /// 时间
        /// </summary>
        [SugarColumn(ColumnName = "Datetime", Length = 255)]
        public string Datetime { get; set; }
 
        /// <summary>
        /// 行号
        /// </summary>
        [SugarColumn(ColumnName = "LineNumber")]
        public int LineNumber { get; set; }
 
        /// <summary>
        /// 图号
        /// </summary>
        [SugarColumn(ColumnName = "ProductDrawingNumber", Length = 255)]
        public string ProductDrawingNumber { get; set; }
 
        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(ColumnName = "MaterialNo", Length = 255)]
        public string MaterialNo { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(ColumnName = "MaterialName", Length = 255)]
        public string MaterialName { get; set; }
 
        /// <summary>
        /// 单重
        /// </summary>
        [SugarColumn(ColumnName = "Weight")]
        public decimal Weight { get; set; }
 
        /// <summary>
        /// 规格
        /// </summary>
        [SugarColumn(ColumnName = "Specs", Length = 255)]
        public string Specs { get; set; }
 
        /// <summary>
        /// 单位
        /// </summary>
        [SugarColumn(ColumnName = "Unit", Length = 255)]
        public string Unit { get; set; }
 
        /// <summary>
        /// 材质
        /// </summary>
        [SugarColumn(ColumnName = "Texture", Length = 255)]
        public string Texture { get; set; }
 
        /// <summary>
        /// 数量
        /// </summary>
        [SugarColumn(ColumnName = "Quantity")]
        public decimal Quantity { get; set; }
 
        /// <summary>
        /// 单据状态
        /// </summary>
        [SugarColumn(ColumnName = "OrderStatus", Length = 255)]
        public string OrderStatus { get; set; }
 
    }
}