using Dlhis.Entity.Device.Enums; using Kurisu.AspNetCore.Utils.Extensions; namespace Dlhis.Basic.Device.Response; public class DevicePermissionManuallyResponse { public long Id { get; set; } public Guid DeviceCode { get; set; } public string DeviceUniqueNo { get; set; } public string DeployPlace { get; set; } public string UserNo { get; set; } public string UserName { get; set; } public DeviceTypeEnumType? Type { get; set; } public string TypeDesc { get { if (Type == null) { return string.Empty; } return Type.GetDescription(); } } }