using DS.Module.Core; using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; namespace DS.WMS.Core.Op.EDI { /// /// Edi 返回 /// public class EdiDataResult { /// /// 获取 是否成功 /// public bool Succeeded = false; /// /// 获取或设置 返回消息 /// public string Message { get; set; } /// /// 返回 /// public string Data { get; set; } /// /// 拓展数据1 /// public string ExtraData1 { get; set; } /// /// 拓展数据1 /// public string ExtraData2 { get; set; } /// /// /// /// /// public static EdiDataResult Failed(string message) { return new EdiDataResult() { Succeeded = false, Message = message }; } /// /// /// /// /// public static EdiDataResult Success(string message) { return new EdiDataResult() { Succeeded = true, Message = message }; } } }