You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
45 lines
993 B
45 lines
993 B
using System.ComponentModel.DataAnnotations;
|
|
|
|
namespace Win_in.Sfs.Scp.WebApi.Asns;
|
|
|
|
/// <summary>
|
|
/// Transaction Totals
|
|
/// 事务汇总
|
|
/// </summary>
|
|
public class CTT
|
|
{
|
|
/// <summary>
|
|
/// Number Of Line Items
|
|
/// 层级总数
|
|
/// </summary>
|
|
[StringLength(6,MinimumLength = 1)]
|
|
public string CTT01 { get; set; }
|
|
|
|
/// <summary>
|
|
/// Hash Totals
|
|
/// 零件总数
|
|
/// </summary>
|
|
[StringLength(10,MinimumLength = 1)]
|
|
public string CTT02 { get; set; }
|
|
|
|
|
|
public string CTT03 { get;}
|
|
public string CTT04 { get;}
|
|
public string CTT05 { get;}
|
|
public string CTT06 { get;}
|
|
public string CTT07 { get;}
|
|
|
|
|
|
public CTT(int hlCount,int itemCount)
|
|
{
|
|
CTT01 = hlCount.ToString();
|
|
CTT02 = itemCount.ToString();
|
|
}
|
|
|
|
public override string ToString()
|
|
{
|
|
return "CTT"
|
|
+ X12Const.ElementSeparator + CTT01
|
|
+ X12Const.ElementSeparator + CTT02 ;
|
|
}
|
|
}
|