1
huangxiaoqiang
8 天以前 644cbe3e4eba765affa25454d69fee6286bb6094
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
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_OrderOutDetails")]
    public class Dt_OrderOutDetails : 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 = "PalletCode", Length = 255)]
        public string PalletCode { get; set; }
 
        /// <summary>
        /// 单据类型
        /// </summary>
        [SugarColumn(ColumnName = "OrderType", Length = 255)]
        public int OrderType { get; set; }
 
        /// <summary>
        /// ERP单据唯一键
        /// </summary>
        [SugarColumn(ColumnName = "ERPOrderId", Length = 255)]
        public string ERPOrderId { get; set; }
 
        /// <summary>
        /// 物料ID
        /// </summary>
        [SugarColumn(ColumnName = "MaterielID", Length = 255)]
        public string MaterielID { get; set; }
 
        /// <summary>
        /// 物料编码
        /// </summary>
        [SugarColumn(ColumnName = "MaterielCode", Length = 255)]
        public string MaterielCode { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        [SugarColumn(ColumnName = "MaterielName", Length = 255)]
        public string MaterielName { get; set; }
 
        /// <summary>
        /// 仓库ID
        /// </summary>
        [SugarColumn(IsNullable = false, ColumnDescription = "WareHouseId")]
        public string WareHouseId { get; set; }
        
 
        /// <summary>
        /// 所在仓库
        /// </summary>
        [SugarColumn(ColumnName = "Warehouse", Length = 255)]
        public string Warehouse { get; set; }
 
        /// <summary>
        /// 调拨仓库
        /// </summary>
        [SugarColumn(ColumnName = "AllocateWarehouse",Length =255)]
        public string AllocateWarehouse { get; set; }
        /// <summary>
        /// 调拨仓库Id
        /// </summary>
        [SugarColumn(ColumnName = "AllocateWarehouseId", Length = 255)]
        public string AllocateWarehouseId { get; set; }
 
        /// <summary>
        /// 出库数量
        /// </summary>
        [SugarColumn(ColumnName = "OutboundQuantity")]
        public decimal OutboundQuantity { get; set; }
 
        /// <summary>
        /// 备注
        /// </summary>
        [SugarColumn(ColumnName = "Remark", Length = 255)]
        public string Remark { get; set; }
 
    }
}