You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
20 lines
723 B
20 lines
723 B
using Infrastructure.Domain;
|
|
using System.Collections.Generic;
|
|
|
|
namespace Application.Domain.Entities
|
|
{
|
|
public class DeviceId : BaseEntity
|
|
{
|
|
public static List<DeviceId> List { get; set; } = new List<DeviceId>();
|
|
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; }
|
|
}
|
|
} |