NetActionPropertysDto.cs 1.07 KB
namespace Rcs.Application.DTOs
{
    /// <summary>
    /// 网络动作属性列表项DTO
    /// @author zzy
    /// </summary>
    public class NetActionPropertysListItemDto
    {
        public string NetActionId { get; set; } = string.Empty;
        public string ActionName { get; set; } = string.Empty;
        public bool IsActive { get; set; }
        public string? RequestMethod { get; set; }
        public string? RequestUrl { get; set; }
        public int? RepeatCount { get; set; }
        public int? IntervalTimeMs { get; set; }
        public int WaitResponseType { get; set; }
        public string? Description { get; set; }
        public DateTime? CreatedAt { get; set; }
        public DateTime? UpdatedAt { get; set; }
    }

    /// <summary>
    /// 网络动作属性详情DTO
    /// @author zzy
    /// </summary>
    public class NetActionPropertysDto : NetActionPropertysListItemDto
    {
        public string? RequestParams { get; set; }
        public string? ResponseValidationRule { get; set; }
        public string? ExtraProperties { get; set; }
    }
}