schangxiang@126.com
2025-09-19 fc752b66a7976188c4edd5e3fb7ca6bb2822e441
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
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
namespace wcftest.orm
{
    using System;
    using System.Collections.Generic;
    using System.ComponentModel.DataAnnotations;
    using System.ComponentModel.DataAnnotations.Schema;
    using System.Data.Entity.Spatial;
 
    [Table("vOldLibraryEarlyWarning")]
    public partial class vOldLibraryEarlyWarning
    {
        [Key]
        [Column(Order = 0)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int ProductPosition_Id { get; set; }
 
        [Key]
        [Column(Order = 1)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Storage_Id { get; set; }
 
        [Key]
        [Column(Order = 2)]
        [StringLength(50)]
        public string StorageName { get; set; }
 
        [Key]
        [Column(Order = 3)]
        [StringLength(50)]
        public string PositionName { get; set; }
 
        [Key]
        [Column(Order = 4)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Product_Id { get; set; }
 
        [Key]
        [Column(Order = 5)]
        [StringLength(50)]
        public string ProductCode { get; set; }
 
        [Key]
        [Column(Order = 6)]
        [StringLength(500)]
        public string ProductName { get; set; }
 
        [StringLength(50)]
        public string BatchNumber { get; set; }
 
        [StringLength(50)]
        public string PlateCode { get; set; }
 
        [StringLength(50)]
        public string AreaCode { get; set; }
 
        [Key]
        [Column(Order = 7)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int Consignor_Id { get; set; }
 
        [Key]
        [Column(Order = 8)]
        [StringLength(50)]
        public string ConsignorCode { get; set; }
 
        [Key]
        [Column(Order = 9)]
        [StringLength(150)]
        public string ConsignorName { get; set; }
 
        [Key]
        [Column(Order = 10)]
        public DateTime InStorageDate { get; set; }
 
        public DateTime? ProduceDate { get; set; }
 
        public int? Type_Id { get; set; }
 
        [StringLength(100)]
        public string TypeName { get; set; }
 
        public int? ProduceDay { get; set; }
 
        public int? InDay { get; set; }
 
        /// <summary>
        /// ¹ýÆÚÌìÊý
        /// </summary>
        public int? LimitDay { get; set; }
 
        public decimal? ProductStorage { get; set; }
 
        [StringLength(50)]
        public string SmallUnit { get; set; }
 
        public string ProductSpec { get; set; }
 
        [Key]
        [Column(Order = 11)]
        [DatabaseGenerated(DatabaseGeneratedOption.None)]
        public int UserProduct_Id { get; set; }
 
        public int? PlatUser_Id { get; set; }
 
        [StringLength(50)]
        public string PlatUserCode { get; set; }
 
        [StringLength(50)]
        public string PlatUserName { get; set; }
 
        [StringLength(50)]
        public string PlatCorpName { get; set; }
 
        [StringLength(50)]
        public string UserProductCode { get; set; }
 
        [StringLength(100)]
        public string UserProductAlias { get; set; }
 
        public DateTime? limitDate { get; set; }
 
        [StringLength(300)]
        public string extendField04 { get; set; }
 
 
        #region ÊÕ»õÖ§³Ö¶þάÂë ¡¾Editby shaocx,2023-11-5¡¿
 
        /// <summary>
        /// ¶þάÂëµÄGUID [EditBy shaocx,2024-03-14]
        /// </summary>
        public string qrCode_guid { get; set; }
 
        /// <summary>
        /// ÌõÂëÖµ£¨Ò»Î¬Âë»ò¶þάÂëÖµ£© [EditBy shaocx,2024-03-14]
        /// </summary>
        public string BarCode { get; set; }
 
        /// <summary>
        /// ÊÇ·ñÊǶþάÂëÖµ [EditBy shaocx,2024-03-14]
        /// </summary>
        public bool? IsQrCode { get; set; }
 
        #endregion
 
        public byte? PositionType { get; set; }
    }
}