api_Material_CodeInfos_YZJ.cs
4.68 KB
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
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
using System;
using System.Collections.Generic;
using SqlSugar;
namespace Hh.Mes.POJO.Entity
{
[SugarTable("api_Material_CodeInfos_YZJ")]
public partial class api_Material_CodeInfos_YZJ : base_Entity
{
/// <summary>
/// 物料系统编码ID
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "物料系统编码ID", IsNullable = false)]
public string ThirdPartyID { get; set; }
/// <summary>
/// 物料编码 base_material.materialCode
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "物料编码 base_material.materialCode", IsNullable = false)]
public string Code { get; set; }
/// <summary>
/// 物料描述 base_material.materialName
/// </summary>
[SugarColumn(Length = 255, ColumnDescription = "物料描述 base_material.materialName", IsNullable = false)]
public string MaterialDesc { get; set; }
/// <summary>
/// 材质 base_material.types
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "材质 base_material.types", IsNullable = true)]
public string Quality { get; set; }
/// <summary>
/// 规格 base_material.specifications
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "规格 base_material.specifications", IsNullable = true)]
public string Spec { get; set; }
/// <summary>
/// 物资单位(管理单位) base_material.unitCode
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "物资单位(管理单位) base_material.unitCode", IsNullable = false)]
public string MaterialUnit { get; set; }
/// <summary>
/// 产品层次大类
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "产品层次大类", IsNullable = false)]
public string ProductLevel1 { get; set; }
/// <summary>
/// 产品层次中类
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "产品层次中类", IsNullable = false)]
public string ProductLevel2 { get; set; }
/// <summary>
/// 产品层次小类
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "产品层次小类", IsNullable = false)]
public string ProductLevel3 { get; set; }
/// <summary>
/// 物料类型 base_material.mtClassify
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "物料类型 base_material.mtClassify", IsNullable = true)]
public string Type { get; set; }
/// <summary>
/// 材料类型
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "材料类型", IsNullable = true)]
public string MaterialCategory { get; set; }
/// <summary>
/// 如果数据停用,标记为X isDelete
/// </summary>
[SugarColumn(Length = 10, ColumnDescription = "如果数据停用,标记为X isDelete", IsNullable = true)]
public string Mark { get; set; }
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int Id { get; set; }
/// <summary>
/// 内码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "内码", IsNullable = true)]
public string internalCode { get; set; }
/// <summary>
/// 启用禁用 0 禁用 1启用
/// </summary>
[SugarColumn(Length = 2, ColumnDescription = "启用禁用 0 禁用 1启用", IsNullable = true)]
public string Usable { get; set; }
/// <summary>
/// 建立时间
/// </summary>
[SugarColumn(ColumnDescription = "建立时间", IsNullable = true)]
public DateTime CreateTime { get; set; }
/// <summary>
/// 建立者
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "建立者", IsNullable = true)]
public string CreateBy { get; set; }
}
public class MaterialCodeInfos
{
public List<api_Material_CodeInfos_YZJ> materialCodeInfos { get; set; }
}
public partial class MaterialResult
{
/// <summary>
/// 状态(1-成功,0-失败)
/// </summary>
public int status { get; set; }
/// <summary>
/// 错误代码
/// </summary>
public int errorcode { get; set; }
/// <summary>
/// 错误信息
/// </summary>
public string error { get; set; }
/// <summary>
/// 回传数据
/// </summary>
public object data { get; set; }
}
}