using Infrastructure.Domain; using System.Collections.Generic; using System.ComponentModel.DataAnnotations; namespace Application.Domain.Entities { [Display(Name = "设备信息")] public class DeviceInfo : BaseEntity { [Display(Name = "设备名称")] public string Name { get; set; } [Display(Name = "设备型号")] public string Number { get; set; } [Display(Name = "设备分类")] public string Category { get; set; } [Display(Name = "设备类型")] public DeviceType DeviceType { get; set; } [Display(Name = "ApiJson")] public string ApiJson { get; set; } public List Devices { get; set; } = new List(); public List Apis { get; set; } = new List(); } }