using Knoks.Core.Entities.Interfaces;
using Newtonsoft.Json;
using System;
using System.Collections.Generic;
using System.Text;

namespace Knoks.Core.Entities
{
    public class KnokUidArray : IApiResult
    {
        [JsonProperty(ItemConverterType = typeof(UidConverter), ItemConverterParameters = new object[] { Knok.KnokUidKey, typeof(Knok) })]
        public IEnumerable<string> Items { get; set; }
    }
    public class UserUidArray : IApiResult
    {
        [JsonProperty(ItemConverterType = typeof(UidConverter), ItemConverterParameters = new object[] { null,  typeof(User) })]
        public IEnumerable<string> Items { get; set; }
    }
}
