DigitalFactory/Admin.NET/Admin.NET.Application/Service/ReportTable/Dto/PrintCodeTreeData.cs

66 lines
1.3 KiB
C#

namespace Admin.NET.Application;
/// <summary>
/// 汇报单输出参数
/// </summary>
public class PrintCodeTreeData
{
/// <summary>
/// 条码
/// </summary>
public string? Code { get; set; }
/// <summary>
/// 上级码
/// </summary>
public string? FatherCode { get; set; }
/// <summary>
/// 条码类型
/// </summary>
public string? CodeName { get; set; }
/// <summary>
/// 数量
/// </summary>
public int? Count { get; set; }
/// <summary>
/// 单位
/// </summary>
public string? Unit { get; set; }
/// <summary>
/// 基本数量
/// </summary>
public decimal? BaseCount { get; set; }
/// <summary>
/// 基本单位
/// </summary>
public string? BaseUnit { get; set; }
/// <summary>
/// 子码数
/// </summary>
public int? ChildCount { get; set; }
/// <summary>
/// 备注
/// </summary>
public string? Remarks { get; set; }
/// <summary>
/// 扫码时间
/// </summary>
public DateTime? ScanCodeTime { get; set; }
/// <summary>
/// 扫码人
/// </summary>
public string? ScanCodeName { get; set; }
public List<PrintCodeTreeData> Children { get; set; }
public bool HasChildren { get; set; } = true;
}