ke_junjie
2025-06-04 84620534eb627e95811b971a4b552b6a177829bf
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
using Microsoft.EntityFrameworkCore;
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.ComponentModel.DataAnnotations.Schema;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 托盘库位关系表
    /// </summary>
    [Table("ware_container_vs_material")]
    [Comment("托盘库位关系表")]
    public class WareContainerVsMaterial:DEntityBase
    {
        /// <summary>
        /// 容器Code    
        /// </summary>
        [Comment("容器Code")]
        public string WareContainerCode { get; set; }
 
        /// <summary>
        /// 物料表代码    
        /// </summary>
        [Comment("物料表代码")]
        public string WareMaterialCode { get; set; }
 
        /// <summary>
        /// 物料数量    
        /// </summary>
        [Comment("物料数量")]
        [Column("Quantity", TypeName = "decimal(20,6)")]
        public decimal? Quantity { get; set; }
 
        /// <summary>
        /// 采购单号(PO)    
        /// </summary>
        [Comment("采购单号(PO)")]
        public string PurchaseNo { get; set; }
 
        /// <summary>
        /// 送货单号    
        /// </summary>
        [Comment("送货单号")]
        public string DeliveryNo { get; set; }
 
        /// <summary>
        /// 收货单    
        /// </summary>
        [Comment("收货单")]
        public string CollectNo { get; set; }
 
        /// <summary>
        /// 入库单    
        /// </summary>
        [Comment("入库单")]
        public string OrdersNo { get; set; }
 
        /// <summary>
        /// 状态-正常_0、停用_1、删除_2    
        /// </summary>
        [Comment("状态-正常_0、停用_1、删除_2")]
        public int? Status { get; set; }
 
        /// <summary>
        /// 备注    
        /// </summary>
        [Comment("备注")]
        public string Remarks { get; set; }
 
        /// <summary>
        /// 库存状态 0 空,1执行中 ,2入库完成    
        /// </summary>
        [Comment("库存状态 0 空,1执行中 ,2入库完成")]
        public StockStatusEnum? StockStatus { get; set; }
 
        /// <summary>
        /// 是否锁定    
        /// </summary>
        [Comment("是否锁定")]
        public bool IsLocked { get; set; }
 
        /// <summary>
        /// 单价    
        /// </summary>
        [Comment("单价")]
        public decimal? Price { get; set; }
 
        /// <summary>
        /// 批次    
        /// </summary>
        [Comment("批次")]
        public string BarNo { get; set; }
 
        /// <summary>
        /// 单据类型
        /// </summary>
        [Comment("单据类型")]
        public string OrderType { get; set; }
 
        /// <summary>
        /// 单位
        /// </summary>
        public string Unit { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        public string WareMaterialName { get; set; }
    }
}