服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2 天以前 3ab68d4877acffcb9677ecf369e15210e5db6981
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
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
using System;
using SqlSugar;
using System.Linq;
using System.ComponentModel;
using System.Collections.Generic;
 
namespace Tiger.Model
{
    /// <summary>
    /// ÊµÌ壺SMT¹¤µ¥ÁÏÕ¾±í
    /// </summary>
    [Description("Primary:ID")]
    [Serializable]
    [SugarTable("SMT_WO_TABLE")]
    public class SMT_WO_TABLE : DbEntityWithAuth
    {
        #region ¹¹Ô캯Êý
        /// <summary>
        /// ÊµÌ壺SMT¹¤µ¥ÁÏÕ¾±í
        /// </summary>
        public SMT_WO_TABLE() {}
        #endregion
 
        #region ¹«¹²ÊôÐÔ
        /// <summary>
        /// ¹ØÁª¹¤µ¥ºÅ
        /// </summary>
        public string WORK_ORDER { get; set; }
        /// <summary>
        /// ²úÆ·±àÂë
        /// </summary>
        public string PROD_CODE { get; set; }
        /// <summary>
        /// ÎïÁϱàÂë
        /// </summary>
        public string ITEM_CODE { get; set; }
        /// <summary>
        /// Ìæ´úÁÏ
        /// </summary>
        public string SUBITEM_CODE { get; set; }
        /// <summary>
        /// µ¥Î»
        /// </summary>
        public string UNIT { get; set; }
        /// <summary>
        /// µ¥Î»ÓÃÁ¿
        /// </summary>
        public int UNIT_QTY { get; set; }
        /// <summary>
        /// ²úÏß±àÂë
        /// </summary>
        public string LINE_CODE { get; set; }
        /// <summary>
        /// ÌùƬ»ú±àÂë
        /// </summary>
        public string SMT_CODE { get; set; }
        /// <summary>
        /// ¸ÖÍø±àÂë
        /// </summary>
        public string SMT_STENCIL { get; set; }
        /// <summary>
        /// Õ¾Î»ºÅ
        /// </summary>
        public string SLOT_NO { get; set; }
        /// <summary>
        /// ÌùƬλÖÃ
        /// </summary>
        public string LOCATION { get; set; }
        /// <summary>
        /// ·É´ï±àÂë
        /// </summary>
        public string FEEDER_CODE { get; set; }
        /// <summary>
        /// ·É´ïÀàÐÍ
        /// </summary>
        public string FEEDER_TYPE { get; set; }
        /// <summary>
        /// ¼Ó¹¤Ãæ(²å¼þÃæ:A/C|1º¸ÎýÃæ:B/S)
        /// </summary>
        public string PCB_SURFACE { get; set; }
        /// <summary>
        /// ÉÏÁÏ˳Ðò
        /// </summary>
        public int LOAD_SEQ { get; set; }
        /// <summary>
        /// ±¸×¢
        /// </summary>
        public string REMARK { get; set; }
        #endregion
 
        #region ÐéÄâÊôÐÔ
        /*Àý×Ó
        [SugarColumn(IsIgnore = true)]
        public string FieldName { get; set; }
        */
        [SugarColumn(IsIgnore = true)]
        public string VALIDATION_TYPE { get; set; }
        [SugarColumn(IsIgnore = true)]
        public string VALIDATION_RESULT { get; set; }
        #endregion
 
        #region Íâ¼üÊôÐÔ
        /*Àý×Ó
        //Ò»¶ÔÒ»Íâ¼üµ¼º½
        [Navigate(NavigateType.OneToOne, nameof(ClassAId))]//Ò»¶ÔÒ» ClassAIdÊÇSMT_WO_TABLEÀàÀïÃæµÄÍâ¼üID×Ö¶Î
        public ClassA ClassA { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        //Ò»¶Ô¶àÍâ¼üµ¼º½
        [Navigate(NavigateType.OneToMany, nameof(ClassA.SMT_WO_TABLEId))]//ClassA±íÖеÄSMT_WO_TABLEId
        public List<ClassA> ClassAList { get; set; }//×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        //¶à¶Ô¶àÍâ¼üµ¼º½
        [Navigate(typeof(MappingClass), nameof(MappingClass.SMT_WO_TABLEId), nameof(MappingClass.ClassAId))]//×¢Òâ˳Ðò
        public List<ClassA> ClassAList { get; set; } //×¢Òâ½ûÖ¹ÊÖ¶¯¸³Öµ£¬Ö»ÄÜÊÇnull
        */
        #endregion
 
        #region Ã¶¾Ù±äÁ¿
        /*Àý×Ó
        public enum FieldNames
        {
            [Description("ö¾ÙÃèÊö0")]
            Enum0,
            [Description("ö¾ÙÃèÊö1")]
            Enum1,
        }
        */
        #endregion
 
        #region ¹«¹²·½·¨
 
        #endregion
 
    }//endClass
 
    public class smtWoTableParams { 
        public string prodCode { get; set; }
        public string lineCode { get; set; }
        public string pcbSurface { get; set; }
        public string moCode { get; set; }
        public string machineCode { get; set; }
    }
    //µ¼Èë¶ÔÏó
    public class smtWoTableIn
    {
        public string ¹ØÁª¹¤µ¥ºÅ { get; set; }
        public string ²úÆ·±àÂë { get; set; }
        public string ÎïÁϱàÂë { get; set; }
        public string Ìæ´úÁÏ { get; set; }
        public string µ¥Î» { get; set; }
        public int µ¥Î»ÓÃÁ¿ { get; set; }
        public string ²úÏß±àÂë { get; set; }
        public string ÌùƬ»ú±àÂë { get; set; }
        public string ¸ÖÍø±àÂë { get; set; }
        public string Õ¾Î»ºÅ { get; set; }
        public string ÌùƬλÖà{ get; set; }
        public string ·É´ï±àÂë { get; set; }
        public string ·É´ïÀàÐÍ { get; set; }
        public string ¼Ó¹¤Ãæ { get; set; }
        public int ÉÏÁÏ˳Ðò { get; set; }
        public string ±¸×¢ { get; set; }
        public string ´¦Àí·½Ê½ { get; set; }
        public string Ô­Òò { get; set; }
    }
}