using System.ComponentModel.DataAnnotations;
namespace HStation.Dto
{
///
/// 过渡件
///
public class AddAssetsTranslationMainInput
{
///
/// 名称
///
[Required]
public string Name { get; set; }
///
/// 系列ID
///
[Required, Range(1, long.MaxValue, ErrorMessage = "SeriesID 必须大于0")]
public long SeriesID { get; set; }
///
/// 直径
///
public double Diameter { get; set; }
///
/// 上游直径
///
public double StartDiameter { get; set; }
///
/// 下游直径
///
public double EndDiameter { get; set; }
///
/// 粗糙系数
///
public double Roughness { get; set; }
///
/// 算法类型
///
public HStation.Assets.eAlgorithmType eAlgorithmType { get; set; }
///
/// 材料
///
public string Material { get; set; }
///
/// 局阻系数
///
public double MinorLoss { get; set; }
///
/// 识别关键字
///
public List KeyWord { get; set; }
///
/// 参数
///
public Dictionary Paras { get; set; }
///
/// 标签
///
public List Flags { get; set; }
///
/// 标志
///
public string TagName { get; set; }
///
/// 说明
///
public string Description { get; set; }
}
}