Blame view

sys/Hh.Mes.POJO/WebEntity/EntityExtension/Extension.cs 4.97 KB
赖素文 authored
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
using Hh.Mes.POJO.Entity;
using Microsoft.AspNetCore.Http;
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Text;

namespace Hh.Mes.POJO.Entity
{
    public class base_entity
    {
        /// <summary>
        /// 建立时间
        /// </summary>
        [SugarColumn(ColumnDescription = "建立时间", IsNullable = true)]
        public DateTime createTime { get; set; }

        /// <summary>
        /// 建立者
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "建立者", IsNullable = true)]
        public string createBy { get; set; }

        /// <summary>
        /// 更新时间
        /// </summary>
        [SugarColumn(ColumnDescription = "更新时间", IsNullable = true)]
        public DateTime updateTime { get; set; }

        /// <summary>
        /// 更新者
        /// </summary>
        [SugarColumn(Length = 50, ColumnDescription = "更新者", IsNullable = true)]
        public string updateBy { get; set; }

        [SugarColumn(IsIgnore = true)]
        public bool Exel { get; set; }
    }

    public class base_Entity
    {
        [SugarColumn(IsIgnore = true)]
        public bool Exel { get; set; }
    }

    public partial class sys_interface_log
    {
        //最早日志时间
        [SugarColumn(IsIgnore = true)]
        public DateTime? BeginLogTime { get; set; }

        //最晚日志时间
        [SugarColumn(IsIgnore = true)]
        public DateTime? EndLogTime { get; set; }

        //response http  不是 200
        [SugarColumn(IsIgnore = true)]
        public string responseNo200 { get; set; }
    }


    public partial class GroupData
    {
        /// <summary>
        /// 组编号(每组对应不同的物料,PLC定义)
        /// </summary>
        public int? sequence { get; set; }

        public string materialCode { get; set; }

        public int? row { get; set; }
        /// <summary>
        /// 
        /// </summary>

        public int? line { get; set; }
        /// <summary>
        /// 
        /// </summary>
        public int? layer { get; set; }
        /// <summary>
        /// 数量
        /// </summary>
        public int? qty { get; set; }

        public Guid bodyKeys { get; set; }

    }
赖素文 authored
91
92

    public partial class sys_File
赖素文 authored
93
94
    {
        /// <summary>
赖素文 authored
95
        /// 文件
赖素文 authored
96
97
        /// </summary>
        [SugarColumn(IsIgnore = true)]
赖素文 authored
98
        public List<IFormFile> excelfile { get; set; }
赖素文 authored
99
100
    }
赖素文 authored
101
赖素文 authored
102
赖素文 authored
103
104
    public partial class base_material
    {
赖素文 authored
105
        /// <summary>
赖素文 authored
106
        /// 新增,更新,删除标识Flag 0 新增 1 更新,2 删除
赖素文 authored
107
108
        /// </summary>
        [SugarColumn(IsIgnore = true)]
赖素文 authored
109
        public int flag { get; set; }
赖素文 authored
110
111

        [SugarColumn(IsIgnore = true)]
赖素文 authored
112
        public string codeOrName { get; set; }
赖素文 authored
113
114

        /// <summary>
赖素文 authored
115
        /// 物料页面新增编辑 区分物料还是物料BOM比例 
赖素文 authored
116
117
        /// </summary>
        [SugarColumn(IsIgnore = true)]
赖素文 authored
118
        public string addOrEditFlag { get; set; }
赖素文 authored
119
赖素文 authored
120
121
122
123
124
        /// <summary>
        /// 追踪码
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string barCode { get; set; }
赖素文 authored
125
126

        /// <summary>
赖素文 authored
127
        /// 管段长度
赖素文 authored
128
129
        /// </summary>
        [SugarColumn(IsIgnore = true)]
赖素文 authored
130
        public decimal cuttingLength { get; set; }
赖素文 authored
131
132

        /// <summary>
赖素文 authored
133
        /// 物料批次
赖素文 authored
134
135
        /// </summary>
        [SugarColumn(IsIgnore = true)]
赖素文 authored
136
137
138
139
140
        public string lotNo { get; set; }

    }
赖素文 authored
141
142
    public partial class base_project 
    {
赖素文 authored
143
        /// <summary>
赖素文 authored
144
        /// projectMapList 读取项目对应设备信息
赖素文 authored
145
146
        /// </summary>
        [SugarColumn(IsIgnore = true)]
HuXiYu authored
147
        public string flag { get; set; }
赖素文 authored
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169

        /// <summary>
        /// 设备总数
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int eqCount { get; set; }

        /// <summary>
        /// 设备在线
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int eqOnLine { get; set; }

        /// <summary>
        /// 设备待机
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public int eqOff { get; set; }

        //设备故障
        [SugarColumn(IsIgnore = true)]
        public int eqAlarm { get; set; }
HuXiYu authored
170
171
172
173
174
175

        /// <summary>
        /// 客户关联的多个项目拼接串
        /// </summary>
        [SugarColumn(IsIgnore =true)]
        public string projectKeysString { get; set; }
赖素文 authored
176
    }
177
HuXiYu authored
178
179
180
181
182
183
184
    public partial class base_factory
    {
        /// <summary>
        /// 客户关联的多个项目拼接串
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string projectKeysString { get; set; }
HuXiYu authored
185
186
187
188
189
190
191
192
193

        /// <summary>
        /// 下拉框项目对应的厂房筛选条件
        /// </summary>
        [SugarColumn(IsIgnore = true)]
        public string factorySelectWhere { get; set; }
HuXiYu authored
194
195
    }
196
197
    public partial class base_equipment
    {
HuXiYu authored
198
199
      //  [SugarColumn(IsIgnore =true)]
        //public List<string> factoryCodeList { get; set; } = new List<string>();
200
    }
赖素文 authored
201
}