32 lines
701 B
C#
32 lines
701 B
C#
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; } = "";
|
|
}
|