服务端的TigerApi 框架,基于.NET6 2024 版本
Ben Lin
2024-05-15 93427767c06fbe2437abb4389af649c0a9bb3546
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
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; }
        */
        #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
}