using System.Collections.Generic;
|
using System.ComponentModel.DataAnnotations;
|
|
namespace MES.Service.Dto.webApi;
|
|
/// <summary>
|
/// 根据送货单号删除条码的请求模型(单个)
|
/// </summary>
|
public class DeleteByDeliveryNoRequest
|
{
|
/// <summary>
|
/// 送货单号(必填,不能为空/空字符串)
|
/// </summary>
|
[Required(ErrorMessage = "送货单号 DeliveryNo 不能为空")]
|
public string DeliveryNo { get; set; }
|
|
}
|
|
/// <summary>
|
/// 批量根据送货单号删除的请求模型
|
/// </summary>
|
public class BatchDeleteByDeliveryNoRequest : List<DeleteByDeliveryNoRequest>
|
{
|
// 继承自List<DeliveryNoItem>,直接接收数组格式
|
}
|