namespace FMDAL.DTO.Device { public class DeviceSaveDTO { public int DeviceId { get; set; } public string DeviceCode { get; set; } = string.Empty; public string DeviceName { get; set; } = string.Empty; public int DeviceTypeId { get; set; } = -1; public string DeviceUniqueDetail { get; set; } = string.Empty; public string DeviceMachineIp { get; set; } = string.Empty; public short DevicePortNumber { get; set; } public byte DeviceLocationType { get; set; } public byte DeviceUserType { get; set; } public int OUId { get; set; } = -1; public int UserId { get; set; } = -1; public byte IsVerified { get; set; } public string Remarks { get; set; } = string.Empty; public byte Status { get; set; } public int CreatedById { get; set; } public int ModifiedById { get; set; } public int TenantId { get; set; } } public class DeviceListItemDTO { public int DeviceId { get; set; } public string DeviceCode { get; set; } = string.Empty; public string DeviceName { get; set; } = string.Empty; public string DeviceTypeName { get; set; } = string.Empty; public string OUName { get; set; } = string.Empty; public byte IsVerified { get; set; } public byte Status { get; set; } } public class DeviceValidationResultDTO { public bool IsValid { get; set; } public int DeviceId { get; set; } public string DeviceName { get; set; } = string.Empty; public string Message { get; set; } = string.Empty; } }