wangxinhui
2025-03-19 d8db1698c125618c1b5f62b009204ddc5d4eed5a
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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.MES
{
    /// <summary>
    /// 返工提库
    /// </summary>
    [ModelValidate]
    public class RworkTaskModel
    {
        /// <summary>
        /// 任务单号
        /// </summary>
        [PropertyValidate("任务单号", NotNullAndEmpty = true)]
        public string TaskNo {  get; set; }
        /// <summary>
        /// 产品编码
        /// </summary>
        [PropertyValidate("产品编码", NotNullAndEmpty = true)]
        public string ProductCode { get; set; }
        /// <summary>
        /// 产品名称
        /// </summary>
        [PropertyValidate("产品名称", NotNullAndEmpty = true)]
        public string ProductName { get; set; }
        /// <summary>
        /// 产品版本
        /// </summary>
        [PropertyValidate("产品版本", NotNullAndEmpty = true)]
        public string ProductVersion { get; set; }
        /// <summary>
        /// 周期
        /// </summary>
        [PropertyValidate("周期", NotNullAndEmpty = true)]
        public string DateCode { get; set; }
        /// <summary>
        /// 需求数量
        /// </summary>
        [PropertyValidate("需求数量", NotNullAndEmpty = true)]
        public float RequiredQuantity { get; set; }
        /// <summary>
        /// 工厂
        /// </summary>
        public string FactoryCode { get; set; }
        /// <summary>
        /// 销售订单
        /// </summary>
        [PropertyValidate("销售订单", NotNullAndEmpty = true)]
        public string SaleOrder { get; set; }
        /// <summary>
        /// 库存类型
        /// 1:客退<br/>
        /// 2:库存不良<br/>
        /// 3:余数提仓<br/>
        /// </summary>
        [PropertyValidate("库存类型", NotNullAndEmpty = true, Check = new object[] { 1, 2,3 })]
        public int InventoryType { get; set; }
    }
}