You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

59 lines
1.3 KiB
C#

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<T> : InvoiceResult
{
[DataMember(Name = "data")]
public new T data { get; set; }
}
public class InvoiceQuery
{
public List<InvoiceOrder> Order { get; set; }
}
public class InvoiceOrder
{
/// <summary>
/// 1已提交待上传,2已上传待开票,3开票成功,4开票失败
/// </summary>
public int State { get; set; }
/// <summary>
/// 发票号
/// </summary>
public string fphm { get; set; }
/// <summary>
/// 失败原因
/// </summary>
public string UpMessage { get; set; }
/// <summary>
/// 发票下载地址
/// </summary>
public string FileUrl { get; set; }
/// <summary>
/// 业务ID
/// </summary>
public string orderNo { get; set; }
}
}