using Infrastructure.Domain; using System.Collections.Generic; namespace Application.Domain.Entities { public class DeviceId : BaseEntity { public static List List { get; set; } = new List(); static DeviceId() { List.Add(new DeviceId { Name = "外挂式插座", Category = "电器", Icon = "socket", RawCategory = "Generic", RawName = "Smart plug", RawDeviceId = 0x0051 }); } public string Name { get; set; } public string Icon { get; set; } public string Category { get; set; } public int RawDeviceId { get; set; } public string RawCategory { get; set; } public string RawName { get; set; } } }