schangxiang@126.com
2024-09-10 429923d78ca4a016ab86adf30d189eb0e7774925
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 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;
using iWare.Wms.Core.Enum;
 
namespace iWare.Wms.Core
{
    /// <summary>
    /// 库存表
    /// </summary>
    [Table("wms_materialstock")]
    [Comment("库存表")]
    public class WmsMaterialStock:DEntityBase
    {
        /// <summary>
        /// 物料编号
        /// </summary>
        [Comment("物料编号")]
        [Required]
 
        [MaxLength(50)]
        public string MaterialNo { get; set; }
 
        /// <summary>
        /// 物料类别;数据字典
        /// </summary>
        [Comment("物料类别")]
        [Required]
 
        public MaterialType MaterialType { get; set; }
 
        /// <summary>
        /// 物料批次
        /// </summary>
        [Comment("物料批次")]
        [Required]
 
        [MaxLength(50)]
        public string MaterialBatch { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        [Comment("物料名称")]
        [Required]
 
        [MaxLength(50)]
        public string MaterialName { get; set; }
 
        /// <summary>
        /// 物料规格
        /// </summary>
        [Comment("物料规格")]
 
        [MaxLength(50)]
        public string MaterialSpec { get; set; }
 
        /// <summary>
        /// 检验方式;数据字典
        /// </summary>
        [Comment("检验方式")]
 
        public MaterialInspection InspectionMethod { get; set; }
 
        /// <summary>
        /// 单位类别;数据字典
        /// </summary>
        [Comment("单位类别")]
 
        public UnitType UnitType { get; set; }
 
        /// <summary>
        /// 单位编号;数据字典
        /// </summary>
        [Comment("单位编号")]
 
        public UnitnoType UnitNo { get; set; }
 
        /// <summary>
        /// 库存数
        /// </summary>
        [Comment("库存数")]
        [Required]
 
        public decimal StockNumber { get; set; }
 
        /// <summary>
        /// 库位编码
        /// </summary>
        [Comment("库位编码")]
        [Required]
 
        [MaxLength(50)]
        public string PlaceCode { get; set; }
 
        /// <summary>
        /// 托盘编码
        /// </summary>
        [Comment("托盘编码")]
        [Required]
 
        [MaxLength(50)]
        public string ContainerCode { get; set; }
 
        /// <summary>
        /// 库区ID
        /// </summary>
        [Comment("库区ID")]
        [Required]
 
        public long AreaId { get; set; }
    }
}