using System;
using System.Collections.Generic;
using System.Linq;
using System.Runtime.Serialization;
using System.Text;
using System.Threading.Tasks;

namespace Blog.Common.Vo
{
    [DataContract]
    public class ResultVo
    {
        [DataMember]
        public string id { get; set; }
        [DataMember]
        public string code { get; set; }
        [DataMember]
        public string msg { get; set; }
        [DataMember]
        public object data { get; set; }

        public ResultVo(string id, string code, string msg, object data)
        {
            this.id = id;
            this.code = code;
            this.msg = msg;
            this.data = data;
        }
    }
}
