34 lines
744 B
C#

using System;
using System.Collections.Generic;
using System.Linq;
using System.Threading.Tasks;
namespace MyCore.Interfaces.DTO
{
public class GroupSummaryDTO
{
public string Id { get; set; }
public string UserId { get; set; }
public string Name { get; set; }
public string Type { get; set; }
public bool IsAlarm { get; set; }
}
public class GroupDetailDTO : GroupSummaryDTO
{
public DateTime CreatedDate { get; set; }
public DateTime UpdatedDate { get; set; }
public List<DeviceDetailDTO> Devices { get; set; }
}
public class GroupCreateOrUpdateDetailDTO : GroupSummaryDTO
{
public List<string> DeviceIds { get; set; }
}
}