/*
   *  Date	 :2015-6-4 14:13
   *  Author:吴梦飞
   *  Desc  :
   */
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Nirvana.Common.ApiBase
{
    public class ReturnMultiData<T>
    {
        public ReturnStatus status { get; set; }
        public ListInfo total { get; set; }

        public List<T> datas { get; set; }

        public ReturnMultiData(ReturnStatus returnstatus, List<T> datas, ListInfo returnlistinfo)
        {
            this.status = returnstatus;
            this.datas = datas;
            this.total = returnlistinfo;
        }

        public string ToJson()
        {
            return Newtonsoft.Json.JsonConvert.SerializeObject(this);
        }
    }
}
