first commit -push
This commit is contained in:
31
RobotNet.MapShares/Dtos/ActionDto.cs
Normal file
31
RobotNet.MapShares/Dtos/ActionDto.cs
Normal file
@@ -0,0 +1,31 @@
|
||||
namespace RobotNet.MapShares.Dtos;
|
||||
|
||||
#nullable disable
|
||||
|
||||
public class ActionDto
|
||||
{
|
||||
public Guid Id { get; set; }
|
||||
|
||||
public Guid MapId { get; set; }
|
||||
|
||||
public string Name { get; set; }
|
||||
|
||||
public string Content { get; set; }
|
||||
}
|
||||
|
||||
public class ActionCreateModel : ActionDto { }
|
||||
|
||||
public class ActionModel
|
||||
{
|
||||
public string ActionId { get; set; } = "";
|
||||
public string ActionType { get; set; } = "";
|
||||
public string ActionDescription { get; set; } = "";
|
||||
public string BlockingType { get; set; } = "";
|
||||
public ActionParameter[] ActionParameters { get; set; } = [];
|
||||
}
|
||||
|
||||
public class ActionParameter
|
||||
{
|
||||
public string Key { get; set; } = "";
|
||||
public string Value { get; set; } = "";
|
||||
}
|
||||
Reference in New Issue
Block a user