using System.Runtime.Serialization; namespace DS.WMS.Core.Invoice.Dtos { public class InvoiceResult { [DataMember(Name = "code")] public int Code { get; set; } [DataMember(Name = "success")] public bool Success { get; set; } [DataMember(Name = "msg")] public string Message { get; set; } [DataMember(Name = "data")] public object Data { get; set; } } public class InvoiceResult : InvoiceResult { [DataMember(Name = "data")] public new T Data { get; set; } } }