base_material.cs
3.29 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
using System;
using SqlSugar;
using System.ComponentModel.DataAnnotations.Schema;
namespace Hh.Mes.POJO.Entity
{
public partial class base_material : base_Entity
{
/// <summary>
/// 主键
/// </summary>
[SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
public int id { get; set; }
/// <summary>
/// Key值
/// </summary>
[SugarColumn(ColumnDescription = "Key值", IsNullable = true)]
public Guid keys { get; set; }
/// <summary>
/// 物料编码
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "物料编码", IsNullable = true)]
public string materialCode { get; set; }
/// <summary>
/// 物料名称
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "物料名称", IsNullable = true)]
public string materialName { get; set; }
/// <summary>
/// 物料对应的PLC编码
/// </summary>
[SugarColumn(ColumnDescription = "物料对应的PLC编码", IsNullable = true)]
public int typesPlcCode { get; set; }
/// <summary>
/// 物料类别
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "物料类别", IsNullable = true)]
public string mtTypeCode { get; set; }
[SugarColumn(Length = 100, IsNullable = true)]
public string unitCode { get; set; }
/// <summary>
/// 唯一标识
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "唯一标识", IsNullable = true)]
public string plmeId { get; set; }
/// <summary>
/// 工厂编码/供应商编码
/// </summary>
[SugarColumn(Length = 50, ColumnDescription = "工厂编码/供应商编码", IsNullable = true)]
public string factoryCode { get; set; }
/// <summary>
/// 规格
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "规格", IsNullable = true)]
public string specifications { get; set; }
/// <summary>
/// 扩展字段
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "扩展字段", IsNullable = true)]
public string extend1 { get; set; }
/// <summary>
/// 扩展字段
/// </summary>
[SugarColumn(Length = 100, ColumnDescription = "扩展字段", IsNullable = true)]
public string extend2 { get; set; }
/// <summary>
/// 是否有效 : 1=有效, 0=无效
/// </summary>
[SugarColumn(ColumnDescription = "是否有效 : 1=有效, 0=无效", IsNullable = true)]
public int isDelete { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime createTime { get; set; }
[SugarColumn(Length = 80, IsNullable = true)]
public string createBy { get; set; }
[SugarColumn(IsNullable = true)]
public DateTime updateTime { get; set; }
[SugarColumn(Length = 80, IsNullable = true)]
public string updateBy { get; set; }
/// <summary>
/// 精追件标识
/// </summary>
public string crux { get; set; }
/// <summary>
/// 单位
/// </summary>
public string unit { get; set; }
/// <summary>
/// 实际重量
/// </summary>
public string weight { get; set; }
}
}