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.
26 lines
576 B
C#
26 lines
576 B
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 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; }
|
|
}
|
|
}
|