ningshuxia
2022-12-12 e81ca048ef4e9345e904b74ffffd3e8413d18a7e
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
using System;
using System.Text;
using System.Collections.Generic;
using System.Data;
using System.Runtime.Serialization;
using System.ComponentModel.DataAnnotations;
 
namespace IStation.Dto
{
    /// <summary>
    /// Get
    /// </summary>    
    public partial class AddProductInspectionContentItemInput  
    {
        /// <summary>
        /// 
        /// </summary>
        public AddProductInspectionContentItemInput() { }
 
 
        #region Model
 
        /// <summary>
        /// 客户标识
        /// </summary>    
        [Required, Range(1, long.MaxValue, ErrorMessage = "CorpID 必须大于0")]
        public long CorpID { get; set; }
 
        /// <summary>
        /// 设备标识
        /// </summary>    
        [Required, Range(1, long.MaxValue, ErrorMessage = "ProductID 必须大于0")]
        public long ProductID { get; set; }
 
        /// <summary>
        /// 测点标识
        /// </summary>     
        public long MonitorPointID { get; set; }
 
 
        /// <summary>
        /// 排序码
        /// </summary>     
        public int SortCode { get; set; }
 
        /// <summary>
        /// 分组标识
        /// </summary>    
        [Required, Range(1, long.MaxValue, ErrorMessage = "GroupID 必须大于0")]
        public long GroupID { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>    
        [Required, DataValidation(AllowEmptyStrings = false)]
        public string Name { get; set; }
 
        /// <summary>
        /// 值类型(数值,文字,枚举)
        /// </summary>     
        public Model.ProductInspectionContentItem.eValueType ValueType { get; set; }
 
        /// <summary>
        /// (是否可空)
        /// </summary>     
        public Model.ProductInspectionContentItem.eValueNullAble ValueNullAble { get; set; } = Model.ProductInspectionContentItem.eValueNullAble.否;
 
        /// <summary>
        /// 值上限(数值)
        /// </summary>     
        public double? ValueRangeMin { get; set; } = null;
 
        /// <summary>
        /// 值下限(数值)
        /// </summary>     
        public double? ValueRangeMax { get; set; } = null;
 
        /// <summary>
        /// (提示信息)
        /// </summary>     
        public string TipInfo { get; set; }
 
        /// <summary>
        /// 添加人ID
        /// </summary>    
        [Required, Range(1, long.MaxValue, ErrorMessage = "CreateUserID 必须大于0")]
        public long CreateUserID { get; set; }
        #endregion
 
        /// <summary>
        /// 
        /// </summary>
        public List<AddProductInspectionContentValueInput> ValueList { get; set; }
 
    }
 
}