wangxinhui
2025-08-28 637e23e7df2eb7e9e3dc630f3cf4e212017c7e18
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
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
using SqlSugar;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using WIDESEA_Core.Attributes;
 
namespace WIDESEA_DTO.Basic
{
    /// <summary>
    /// 博思通物料接收实体
    /// </summary>
    [ModelValidate]
    public class BSTMaterialDTO
    {
        /// <summary>
        /// 操作类型<br/>
        /// </summary>
        [PropertyValidate("操作类型", NotNullAndEmpty = true)]
        public int Way { get; set; }
 
        /// <summary>
        /// 物料唯一标识ID<br/>
        /// </summary>
        [PropertyValidate("物料唯一标识ID", NotNullAndEmpty = true)]
        public int MaterialId { get; set; }
 
        /// <summary>
        /// 物料编号
        /// </summary>
        [PropertyValidate("物料编号", NotNullAndEmpty = true)]
        public string MaterialNo { get; set; }
 
        /// <summary>
        /// 物料名称
        /// </summary>
        [PropertyValidate("物料名称", NotNullAndEmpty = true)]
        public string Name { get; set; }
 
        /// <summary>
        /// 物料规格
        /// </summary>
        [PropertyValidate("物料规格", NotNullAndEmpty = false)]
        public string Spec { get; set; }
 
        /// <summary>
        /// 物料类型
        /// </summary>
        [PropertyValidate("物料类型", NotNullAndEmpty = true)]
        public int MaterielType { get; set; }
 
        /// <summary>
        /// 联系电话
        /// </summary>
        [PropertyValidate("联系电话", NotNullAndEmpty = true)]
        public string ContactNumber { get; set; }
 
        /// <summary>
        /// 联系地址
        /// </summary>
        [PropertyValidate("联系地址", NotNullAndEmpty = true)]
        public string ContactAddress { get; set; }
 
        /// <summary>
        /// 电子邮箱
        /// </summary>
        [PropertyValidate("电子邮箱", NotNullAndEmpty = true)]
        public string Email { get; set; }
 
        /// <summary>
        /// 描述
        /// </summary>
        [PropertyValidate("描述", NotNullAndEmpty = true)]
        public string Description { get; set; }
 
        /// <summary>
        /// 状态
        /// </summary>
        [PropertyValidate("状态", NotNullAndEmpty = true)]
        public int State { get; set; }
 
        /// <summary>
        /// 库存组织
        /// </summary>
        [PropertyValidate("库存组织", NotNullAndEmpty = true)]
        public string InvOrgId { get; set; } 
 
        /// <summary>
        /// 操作类型
        /// </summary>
        [PropertyValidate("操作类型", NotNullAndEmpty = true, Check = new object[] { 0, 1, 2 })]
        public string OperateType { get; set; }
    }
}