using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Runtime.Serialization; namespace ICSSoft.Entity { [DataContract] public class Result { public Result() { } public Result(bool success, string message,string printstr, object data) { Success = success; Message = message; PrintStr = printstr; Data = data; } [DataMember] public bool Success { get; set; } [DataMember] public string Message { get; set; } [DataMember] public string PrintStr { get; set; } [DataMember] public object Data { get; set; } } }