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.
|
|
|
|
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<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; }
|
|
|
|
|
}
|
|
|
|
|
}
|