Persist generated/printed/downstream labels in t_order_file, drop Order.LabelUrl generate-status fields, and expose file list/upload/delete APIs with customer read-only systemLabel access. Co-authored-by: Cursor <cursoragent@cursor.com>
42 lines
913 B
C#
42 lines
913 B
C#
namespace Oms.Application.Dtos.Orders;
|
||
|
||
public class OrderFileItemOutput
|
||
{
|
||
public int Id { get; set; }
|
||
|
||
public int OrderId { get; set; }
|
||
|
||
public string FileType { get; set; } = string.Empty;
|
||
|
||
public string? FileName { get; set; }
|
||
|
||
public string FileUrl { get; set; } = string.Empty;
|
||
|
||
public string? ContentType { get; set; }
|
||
|
||
public long? FileSize { get; set; }
|
||
|
||
public int Sort { get; set; }
|
||
|
||
public string Source { get; set; } = string.Empty;
|
||
|
||
public string? Remark { get; set; }
|
||
|
||
public DateTime CreateTime { get; set; }
|
||
}
|
||
|
||
public class OrderFileGroupedOutput
|
||
{
|
||
public int OrderId { get; set; }
|
||
|
||
/// <summary>
|
||
/// 客户登录时仅含 systemLabel;内部含全部类型。
|
||
/// </summary>
|
||
public Dictionary<string, List<OrderFileItemOutput>> Groups { get; set; } = new();
|
||
}
|
||
|
||
public class OrderFileDeleteInput
|
||
{
|
||
public int Id { get; set; }
|
||
}
|