using Knoks.Framework.DataAccess; using Newtonsoft.Json; using System; using System.Collections.Generic; using System.Text; namespace Knoks.Core.Entities.Args { public class KnokOngoingArgs : IApiArgs { [ProcParamIgnore, JsonIgnore, AutoInitField] public string HttpRequestInfo { get; set; } [JsonIgnore, AutoInitField] public long UserId { get; set; } [ProcParamIgnore, JsonIgnore, AutoInitField] public int? OperatorId { get; set; } public bool SortOrderAsc { get; set; } public int SortField { get; set; } public bool? Published { get; set; } public bool? Losing { get; set; } public bool? Gaining { get; set; } [ProcParamIgnore] public int[] ExchangesIds { get; set; } [ProcParamIgnore] public string[] TradingPairs { get; set; } public string ExchangesIdsString { get { return this.ExchangesIds != null ? string.Join(";", this.ExchangesIds) : null; } } public string TradingPairsString { get { return this.TradingPairs != null ? string.Join(";", this.TradingPairs) : null; } } } }