first commit -push
This commit is contained in:
37
RobotNet.RobotShares/Dtos/RobotDto.cs
Normal file
37
RobotNet.RobotShares/Dtos/RobotDto.cs
Normal file
@@ -0,0 +1,37 @@
|
||||
using RobotNet.RobotShares.Enums;
|
||||
|
||||
namespace RobotNet.RobotShares.Dtos;
|
||||
|
||||
|
||||
#nullable disable
|
||||
public class RobotDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string RobotId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public Guid ModelId { get; set; }
|
||||
public string ModelName { get; set; }
|
||||
public Guid MapId { get; set; }
|
||||
public string MapName { get; set; }
|
||||
public NavigationType NavigationType { get; set; }
|
||||
public bool Online { get; set; }
|
||||
public string State { get; set; }
|
||||
public double Battery { get; set; }
|
||||
}
|
||||
|
||||
|
||||
public class RobotCreateModel
|
||||
{
|
||||
public string RobotId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public Guid ModelId { get; set; }
|
||||
}
|
||||
|
||||
public class RobotUpdateModel
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
public string RobotId { get; set; }
|
||||
public string Name { get; set; }
|
||||
public Guid ModelId { get; set; }
|
||||
public Guid MapId { get; set; }
|
||||
}
|
||||
Reference in New Issue
Block a user