647556386
2026-01-12 300ca9810420efbf8468c9d6f47bd364c9c72d5f
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
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
using System;
using System.Collections.Generic;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
 
namespace WIDESEA_DTO.CalcOut
{
    /// <summary>
    /// 分拣出库请求DTO
    /// </summary>
    public class PickingOutboundRequestDTO
    {
        /// <summary>
        /// 出库单编号
        /// </summary>
        [Required(ErrorMessage = "出库单编号不能为空")]
        public string OrderNo { get; set; }
 
        /// <summary>
        /// 选择的出库明细ID列表(单个或多个明细)
        /// </summary>
        [Required(ErrorMessage = "请选择要出库的明细")]
        public List<int> DetailIds { get; set; } = new List<int>();
 
        /// <summary>
        /// 本次出库数量(单个明细时需要填写,多个明细时为空)
        /// </summary>
        [Range(0.0001, double.MaxValue, ErrorMessage = "出库数量必须大于0")]
        public decimal? OutboundQuantity { get; set; }
 
        /// <summary>
        /// 操作者
        /// </summary>
        public string Operator { get; set; }
 
        /// <summary>
        /// 出库目标位置
        /// </summary>
        public string OutboundTargetLocation { get; set; }
 
        public List<int> StockDetailIds { get; set; }
    }
}