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