duheng
2024-12-27 46db25ec513ceb5dbfa78c1ea447003b41f1c900
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
using System.ComponentModel.DataAnnotations;
 
namespace HStation.Dto
{
    /// <summary>
    /// 阀门型号产品映射
    ///</summary> 
    public class AddAssetsValveMainAndPartMappingInput
    {    
        /// <summary>
        /// 系列ID
        ///</summary> 
        [Required, Range(1, long.MaxValue, ErrorMessage ="SeriesID 必须大于0")]
        public long SeriesID { get; set; }
         
        /// <summary>
        /// 型号ID
        ///</summary> 
        [Required, Range(1, long.MaxValue, ErrorMessage ="MainID 必须大于0")]
        public long MainID { get; set; }
         
        /// <summary>
        /// 产品ID
        ///</summary> 
        [Required, Range(1, long.MaxValue, ErrorMessage ="PartID 必须大于0")]
        public long PartID { get; set; }
         
 
    }
}