username@email.com
2021-09-02 9da546cd8de37882147f19f6f090544476bfe5ae
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
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
/**  
* EC_SpecialForums.cs
*
* 功 能: N/A
* 类 名: EC_SpecialForums
*
* Ver    变更日期             负责人  变更内容
* ───────────────────────────────────
* V0.01  2013-4-2 14:27:31   N/A    初版
*
*
*
*
*
*
*/
using System;
using CY.Infrastructure.Domain;
using CY.Infrastructure.Common;
namespace CY.Model
{
    /// <summary>
    /// 专版施工单版面
    /// </summary>
    [Serializable]
    public partial class EC_SpecialForums : IAggregateRoot
    {
        public EC_SpecialForums()
        {}
        #region Model
        private int? _keyid;
        private int? _specialorderid;
        private int? _psf_forumsid;
        private string _psf_component;
        private int? _psf_pnum;
        private string _psf_pressesdesk;
        private string _psf_printedcolorpositive;
        private string _psf_printedcolorrear;
        private string _psf_typesetting;
        private int? _psf_printedpositive;
        private int? _psf_printedcount;
        private int? _psf_lastnum;
        private string _psf_papersource;
        private string _psf_papername;
        private string _psf_materialspecifications;
        private int? _psf_bigpapercount;
        private string _psf_openspecifications;
        private int? _psf_openwidth;
        private int? _psf_openlength;
        private string _psf_note;
        private int? _psf_paperid;
        private string _psf_PlateSource;
        private string _psf_CTPSpecType;
        private string _psf_FilmType;
        private int? _psf_CTPCount;
        private string _psf_PSSpec;
        private int? _psf_PSCount;
 
 
        /// <summary>
        /// 主键--标识ID
        /// </summary>
        public int? Keyid
        {
            set{ _keyid=value;}
            get{return _keyid;}
        }
        /// <summary>
        /// 施工单号
        /// </summary>
        public int? SpecialOrderId
        {
            set{ _specialorderid=value;}
            get{return _specialorderid;}
        }
        /// <summary>
        /// 版面编号
        /// </summary>
        public int? PSF_Forumsid
        {
            set{ _psf_forumsid=value;}
            get{return _psf_forumsid;}
        }
        /// <summary>
        /// 构件
        /// </summary>
        public string PSF_Component
        {
            set{ _psf_component=value;}
            get{return _psf_component;}
        }
        /// <summary>
        /// P数
        /// </summary>
        public int? PSF_PNum
        {
            set{ _psf_pnum=value;}
            get{return _psf_pnum;}
        }
        /// <summary>
        /// 印刷机台
        /// </summary>
        public string PSF_PressesDesk
        {
            set{ _psf_pressesdesk=value;}
            get{return _psf_pressesdesk;}
        }
        /// <summary>
        /// 印色(正)
        /// </summary>
        public string PSF_PrintedColorPositive
        {
            set{ _psf_printedcolorpositive=value;}
            get{return _psf_printedcolorpositive;}
        }
        /// <summary>
        /// 印色(背)
        /// </summary>
        public string PSF_PrintedColorRear
        {
            set{ _psf_printedcolorrear=value;}
            get{return _psf_printedcolorrear;}
        }
        /// <summary>
        /// 排版方式
        /// </summary>
        public string PSF_Typesetting
        {
            set{ _psf_typesetting=value;}
            get{return _psf_typesetting;}
        }
        /// <summary>
        /// 印刷正数
        /// </summary>
        public int? PSF_PrintedPositive
        {
            set{ _psf_printedpositive=value;}
            get{return _psf_printedpositive;}
        }
        /// <summary>
        /// 印刷数量
        /// </summary>
        public int? PSF_PrintedCount
        {
            set{ _psf_printedcount=value;}
            get{return _psf_printedcount;}
        }
        /// <summary>
        /// 后道放数
        /// </summary>
        public int? PSF_LastNum
        {
            set{ _psf_lastnum=value;}
            get{return _psf_lastnum;}
        }
        /// <summary>
        /// 纸张来源
        /// </summary>
        public string PSF_PaperSource
        {
            set{ _psf_papersource=value;}
            get{return _psf_papersource;}
        }
        /// <summary>
        /// 纸张名称
        /// </summary>
        public string PSF_PaperName
        {
            set{ _psf_papername=value;}
            get{return _psf_papername;}
        }
        /// <summary>
        /// 材料规格
        /// </summary>
        public string PSF_MaterialSpecifications
        {
            set{ _psf_materialspecifications=value;}
            get{return _psf_materialspecifications;}
        }
        /// <summary>
        /// 大纸数量
        /// </summary>
        public int? PSF_BigPaperCount
        {
            set{ _psf_bigpapercount=value;}
            get{return _psf_bigpapercount;}
        }
        /// <summary>
        /// 开料规格
        /// </summary>
        public string PSF_OpenSpecifications
        {
            set{ _psf_openspecifications=value;}
            get{return _psf_openspecifications;}
        }
        /// <summary>
        /// 开料宽度
        /// </summary>
        public int? PSF_OpenWidth
        {
            set{ _psf_openwidth=value;}
            get{return _psf_openwidth;}
        }
        /// <summary>
        /// 开料长度
        /// </summary>
        public int? PSF_OpenLength
        {
            set{ _psf_openlength=value;}
            get{return _psf_openlength;}
        }
 
        /// <summary>
        /// 版材来源
        /// </summary>
        public string PSF_PlateSource
        {
            set { _psf_PlateSource = value; }
            get { return _psf_PlateSource; }
        }
        /// <summary>
        /// CTP规格
        /// </summary>
        public string PSF_CTPSpecType
        {
            set { _psf_CTPSpecType = value; }
            get { return _psf_CTPSpecType; }
        }
        /// <summary>
        /// 菲林规格
        /// </summary>
        public string PSF_FilmType
        {
            set { _psf_FilmType = value; }
            get { return _psf_FilmType; }
        }
        /// <summary>
        /// CTP数量
        /// </summary>
        public int? PSF_CTPCount
        {
            set { _psf_CTPCount = value; }
            get { return _psf_CTPCount; }
        }
        /// <summary>
        /// PS规格
        /// </summary>
        public string PSF_PSSpec
        {
            set { _psf_PSSpec = value; }
            get { return _psf_PSSpec; }
        }
        /// <summary>
        /// PS数量
        /// </summary>
        public int? PSF_PSCount
        {
            set { _psf_PSCount = value; }
            get { return _psf_PSCount; }
        }
        /// <summary>
        /// 注意事项
        /// </summary>
        public string PSF_Note
        {
            set{ _psf_note=value;}
            get{return _psf_note;}
        }
        /// <summary>
        /// 使用库存表id
        /// </summary>
        public int? PSF_PaperId
        {
            set
            {
                _psf_paperid = value;
            }
            get
            {
                return _psf_paperid;
            }
        }
        #endregion Model
 
        #region Visiter
 
        /// <summary>
        /// 属性访问器
        /// </summary>
        /// <param name="name">属性名</param>
        /// <param name="index">索引</param>
        /// <param name="isChange">是否将指定属性设置为传入值</param>
        /// <param name="value">需要赋予的值</param>
        /// <returns>与名称对应的属性值</returns>
        public object Visiter(string name, int? index = -1, bool isChange = false, object value = null)
        {
            object theValue = null;
 
            if ("Keyid".Equals(name,StringComparison.CurrentCultureIgnoreCase) || index == 1)
            {
                this.Keyid = isChange ? MyConvert.ConvertToInt32(value) : Keyid;
                theValue = this.Keyid;
            }
            else if ("SpecialOrderId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 2)
            {
                this.SpecialOrderId = isChange ? MyConvert.ConvertToInt32(value) : SpecialOrderId;
                theValue = this.SpecialOrderId;
            }
            else if ("PSF_Forumsid".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 3)
            {
                this.PSF_Forumsid = isChange ? MyConvert.ConvertToInt32(value) : PSF_Forumsid;
                theValue = this.PSF_Forumsid;
            }
            else if ("PSF_Component".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 4)
            {
                this.PSF_Component = isChange ? MyConvert.ConvertToString(value) : PSF_Component;
                theValue = this.PSF_Component;
            }
            else if ("PSF_PNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 5)
            {
                this.PSF_PNum = isChange ? MyConvert.ConvertToInt32(value) : PSF_PNum;
                theValue = this.PSF_PNum;
            }
            else if ("PSF_PressesDesk".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 6)
            {
                this.PSF_PressesDesk = isChange ? MyConvert.ConvertToString(value) : PSF_PressesDesk;
                theValue = this.PSF_PressesDesk;
            }
            else if ("PSF_PrintedColorPositive".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 7)
            {
                this.PSF_PrintedColorPositive = isChange ? MyConvert.ConvertToString(value) : PSF_PrintedColorPositive;
                theValue = this.PSF_PrintedColorPositive;
            }
            else if ("PSF_PrintedColorRear".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 8)
            {
                this.PSF_PrintedColorRear = isChange ? MyConvert.ConvertToString(value) : PSF_PrintedColorRear;
                theValue = this.PSF_PrintedColorRear;
            }
            else if ("PSF_Typesetting".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 9)
            {
                this.PSF_Typesetting = isChange ? MyConvert.ConvertToString(value) : PSF_Typesetting;
                theValue = this.PSF_Typesetting;
            }
            else if ("PSF_PrintedPositive".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 10)
            {
                this.PSF_PrintedPositive = isChange ? MyConvert.ConvertToInt32(value) : PSF_PrintedPositive;
                theValue = this.PSF_PrintedPositive;
            }
            else if ("PSF_PrintedCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 11)
            {
                this.PSF_PrintedCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_PrintedCount;
                theValue = this.PSF_PrintedCount;
            }
            else if ("PSF_LastNum".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 12)
            {
                this.PSF_LastNum = isChange ? MyConvert.ConvertToInt32(value) : PSF_LastNum;
                theValue = this.PSF_LastNum;
            }
            else if ("PSF_PaperSource".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 16)
            {
                this.PSF_PaperSource = isChange ? MyConvert.ConvertToString(value) : PSF_PaperSource;
                theValue = this.PSF_PaperSource;
            }
            else if ("PSF_PaperName".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 17)
            {
                this.PSF_PaperName = isChange ? MyConvert.ConvertToString(value) : PSF_PaperName;
                theValue = this.PSF_PaperName;
            }
            else if ("PSF_MaterialSpecifications".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 18)
            {
                this.PSF_MaterialSpecifications = isChange ? MyConvert.ConvertToString(value) : PSF_MaterialSpecifications;
                theValue = this.PSF_MaterialSpecifications;
            }
            else if ("PSF_BigPaperCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 21)
            {
                this.PSF_BigPaperCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_BigPaperCount;
                theValue = this.PSF_BigPaperCount;
            }
            else if ("PSF_OpenSpecifications".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 22)
            {
                this.PSF_OpenSpecifications = isChange ? MyConvert.ConvertToString(value) : PSF_OpenSpecifications;
                theValue = this.PSF_OpenSpecifications;
            }
            else if ("PSF_OpenWidth".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 23)
            {
                this.PSF_OpenWidth = isChange ? MyConvert.ConvertToInt32(value) : PSF_OpenWidth;
                theValue = this.PSF_OpenWidth;
            }
            else if ("PSF_OpenLength".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 24)
            {
                this.PSF_OpenLength = isChange ? MyConvert.ConvertToInt32(value) : PSF_OpenLength;
                theValue = this.PSF_OpenLength;
            }
            else if ("PSF_PlateSource".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 25)
            {
                this.PSF_PlateSource = isChange ? MyConvert.ConvertToString(value) : PSF_PlateSource;
                theValue = this.PSF_PlateSource;
            }
            else if ("PSF_CTPSpecType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 26)
            {
                this.PSF_CTPSpecType = isChange ? MyConvert.ConvertToString(value) : PSF_CTPSpecType;
                theValue = this.PSF_CTPSpecType;
            }
            else if ("PSF_FilmType".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 27)
            {
                this.PSF_FilmType = isChange ? MyConvert.ConvertToString(value) : PSF_FilmType;
                theValue = this.PSF_FilmType;
            }
            else if ("PSF_CTPCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 28)
            {
                this.PSF_CTPCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_CTPCount;
                theValue = this.PSF_CTPCount;
            }
            else if ("PSF_PSSpec".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 29)
            {
                this.PSF_PSSpec = isChange ? MyConvert.ConvertToString(value) : PSF_PSSpec;
                theValue = this.PSF_PSSpec;
            }
            else if ("PSF_PSCount".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 30)
            {
                this.PSF_PSCount = isChange ? MyConvert.ConvertToInt32(value) : PSF_PSCount;
                theValue = this.PSF_PSCount;
            }
            else if ("PSF_Note".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 31)
            {
                this.PSF_Note = isChange ? MyConvert.ConvertToString(value) : PSF_Note;
                theValue = this.PSF_Note;
            }
            else if ("PSF_PaperId".Equals(name, StringComparison.CurrentCultureIgnoreCase) || index == 32)
            {
                this.PSF_PaperId = isChange ? MyConvert.ConvertToInt32(value) : PSF_PaperId;
                theValue = this.PSF_PaperId;
            }
 
            return theValue;
        }
        #endregion
    }
}