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 msg { get; set; } [DataMember(Name = "data")] public object data { get; set; } } public class InvoiceResult : InvoiceResult { [DataMember(Name = "data")] public new T data { get; set; } } public class InvoiceQuery { public List Order { get; set; } } public class InvoiceOrder { /// /// 1已提交待上传,2已上传待开票,3开票成功,4开票失败 /// public int State { get; set; } /// /// 发票号 /// public string fphm { get; set; } /// /// 失败原因 /// public string UpMessage { get; set; } /// /// 发票下载地址 /// public string FileUrl { get; set; } /// /// 业务ID /// public string orderNo { get; set; } } /// /// 冲红确认单 /// public class SetRedConfirmation { /// /// 红字确认单状态 /// public string hzqrxxztDm { get; set; } /// /// 请求标识 /// public string senid { get; set; } } }