cnf
2025-09-13 528d0370cb57f07e291fbf8fb0052718c3fe584c
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
using System.ComponentModel.DataAnnotations;
using MES.Service.Dto.webApi;
 
namespace MES.Service.Dto.webApi;
 
/// <summary>
/// 按送货单号+行内码删除条码的请求模型
/// </summary>
public class DeleteByDeliveryItemRequest
{
    /// <summary>
    /// 送货单号(必填,不能为空/空字符串)
    /// </summary>
    [Required(ErrorMessage = "送货单号 DeliveryNo 不能为空")]
    public string DeliveryNo { get; set; }
 
    /// <summary>
    /// 送货单行内码(必填,不能为空/空字符串)
    /// </summary>
    [Required(ErrorMessage = "送货单行内码 LineNo 不能为空")]
    public string LineNo { get; set; }
}
/// <summary>
/// 批量按送货单号+行内码删除的请求模型
/// </summary>
public class BatchDeleteByDeliveryItemRequest : List<DeleteByDeliveryItemRequest>
{
    // 继承自List<DeleteByDeliveryItemRequest>,直接接收数组格式
}