服务端的TigerApi 框架,基于.NET6 2024 版本
Rodney Chen
6 天以前 bdf6174b1065a24877f16bba68921772a9586b48
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
/******************************************
* 模块名称:实体 Vechicle
* 当前版本:1.0
* 开发人员:Ben
* 生成时间:2021/9/1
* 版本历史:此代码由 VB/C#.Net实体代码生成工具(EntitysCodeGenerate 4.8) 自动生成。
******************************************/
using System;
using System.Collections;
using System.Collections.Specialized;
using System.ComponentModel;
using SqlSugar;
 
namespace Tiger.Model
{
    /// <summary>
    /// 实体 Vechicle
    /// </summary>
    [Description("Primary:")]
    [Serializable]
[SugarTable("Vechicle")]
    public class Vechicle
    {
        #region 构造函数
        /// <summary>
        /// 实体 Vechicle
        /// </summary>
        public Vechicle(){}
        #endregion
 
        #region 私有变量
        private string _id = null;
        private string _vechicle_id = null;
        private string _sn = null;
        private int _order_id = 0;
        private DateTime _create_time = DateTime.Now;
        private string _create_user = null;
        private DateTime _update_time = DateTime.MinValue;
        private string _update_user = null;
        #endregion
 
        #region 公共属性
        /// <summary>
        /// ID
        /// </summary>
        [SugarColumn(IsPrimaryKey = true)]
        public string ID
        {
            set{ _id=value;}
            get{return _id;}
        }
        /// <summary>
        /// Vechicle_ID
        /// </summary>
        public string Vechicle_ID
        {
            set{ _vechicle_id=value;}
            get{return _vechicle_id;}
        }
        /// <summary>
        /// SN
        /// </summary>
        public string SN
        {
            set{ _sn=value;}
            get{return _sn;}
        }
 
        /// <summary>
        /// Order_ID
        /// </summary>
        public Int32 Order_ID
        {
            set { _order_id = value; }
            get { return _order_id; }
        }
 
 
        /// <summary>
        /// 创建时间(NOT NULL)
        /// </summary>
        public DateTime CREATE_TIME
        {
            set { _create_time = value; }
            get { return _create_time; }
        }
        /// <summary>
        /// 创建者
        /// </summary>
        public string CREATE_USER
        {
            set { _create_user = value; }
            get { return _create_user; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime UPDATE_TIME
        {
            set { _update_time = value; }
            get { return _update_time; }
        }
        /// <summary>
        /// 修改者
        /// </summary>
        public string UPDATE_USER
        {
            set { _update_user = value; }
            get { return _update_user; }
        }
        #endregion
    }
 
    /// <summary>
    /// Vechicle实体集
    /// </summary>
    [Serializable]
    public class VechicleS : CollectionBase
    {
        #region 构造函数
        /// <summary>
        /// Vechicle实体集
        /// </summary>
        public VechicleS(){}
        #endregion
 
        #region 属性方法
        /// <summary>
        /// Vechicle集合 增加方法
        /// </summary>
        public void Add(Vechicle entity)
        {
            this.List.Add(entity);
        }
        /// <summary>
        /// Vechicle集合 索引
        /// </summary>
        public Vechicle this[int index]
        {
            get { return (Vechicle)this.List[index]; }
            set { this.List[index] = value; }
        }
        #endregion
    }
 
    public class CommEntity
    {
        public string EntityStr { get; set; }
        public string[] Params { get; set; }
    }
}