admin/src/Oms.Application/Dtos/Orders/OrderFileDtos.cs
zzh 03f11a276f Add order attachment files table and move system labels off Order.
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>
2026-07-28 16:32:55 +08:00

42 lines
913 B
C#
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

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