using System; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; using System.Linq; using System.Text; using System.Threading.Tasks; namespace TProduct.Model { /// /// 产品类型 /// public enum eProductType { /// /// 泵 /// [Display(Name = "泵")] Pump = 0, /// /// 阀 /// [Display(Name = "阀")] Valve = 1, /// /// 电机 /// [Display(Name = "电机")] Motor = 2, } }