duheng
2024-11-17 a2a57963e160a319276c5c8499f16c9809056e4c
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
using HStation.Assets;
using System.ComponentModel.DataAnnotations;
 
namespace HStation.Dto.Assets
{
    public class UpdateAssetsExchangerCoefficientInput
    {
        /// <summary>
        /// id
        /// </summary>
        [Required, Range(1, long.MaxValue, ErrorMessage = "ID 必须大于0")]
        public long ID { get; set; }
 
        /// <summary>
        /// 名称
        /// </summary>
        public string Name { get; set; }
 
        /// <summary>
        /// 材料
        /// </summary>
        public string Material { get; set; }
 
        /// <summary>
        /// 局阻系数
        /// </summary>
        public double MinorLoss { get; set; }
    }
}