mirror of
https://bitbucket.org/myhomie/mycorerepository.git
synced 2025-12-06 01:31:19 +00:00
31 lines
655 B
C#
31 lines
655 B
C#
using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Threading.Tasks;
|
|
|
|
namespace MyCore.Interfaces.DTO
|
|
{
|
|
public class RoomSummaryDTO
|
|
{
|
|
public string Id { get; set; }
|
|
|
|
public string UserId { get; set; }
|
|
|
|
public string Name { get; set; }
|
|
}
|
|
|
|
public class RoomDetailDTO : RoomSummaryDTO
|
|
{
|
|
public DateTime CreatedDate { get; set; }
|
|
|
|
public DateTime UpdatedDate { get; set; }
|
|
|
|
public List<DeviceDetailDTO> Devices { get; set; }
|
|
}
|
|
|
|
public class RoomCreateOrUpdateDetailDTO : RoomSummaryDTO
|
|
{
|
|
public List<string> DeviceIds { get; set; }
|
|
}
|
|
}
|